Staredit Network > Forums > SC2 Assistance > Topic: Dropping items into inventory with stacking
Dropping items into inventory with stacking
Dec 5 2012, 12:18 am
By: rockz  

Dec 5 2012, 12:18 am rockz Post #1

ᴄʜᴇᴇsᴇ ɪᴛ!

The devs are over at sc2mapster, so I figure I'll try my luck out here. I'm in no way affiliated with the map, nor do I have an unprotected copy of the map to really test, but perhaps someone can shed some light on possible errors. The game here is Night of the Dead, and in case you haven't played it, it's pretty much up there with RUSH in terms of epicness.

What is supposed to happen:
Custom button "Drop Magazine" is supposed to take 3 magazines from your equipped slot and create 1 magazine pack in your inventory. If you have a magazine pack in your inventory with a stack less than 3, it will increase the stack by 1.

What used to happen:
If you have a magazine pack in your inventory, dropping another set will increase the magazine pack to 4.

What currently happens:
If you have a magazine pack in your inventory, dropping another set will create 2 magazine packs and a negative magazine pack. If you fill up your inventory, the negative pack will be dropped on the ground, netting 1 extra magazine. If you have two magazine packs in separate stacks, the negative pack will count as positive, netting 2 extra magazines.

trigger


For ethical reasons I'm not going to post all the triggers, but perhaps an sc2 mapper will see something or can open up the full triggers and see if they can make anything of it.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Dec 5 2012, 11:29 pm payne Post #2

:payne:

I have no idea how Magazines work, but I'd suggest posting the trigger in another format. I can't read that thing.
You can select a trigger and right-click for "Copy as Text". That's better imo.



None.

Dec 5 2012, 11:57 pm DevliN Post #3

OVERWATCH STATUS GO

That doesn't work if the triggers were written in that code rather than using the GUI.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Dec 6 2012, 3:23 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from payne
I have no idea how Magazines work, but I'd suggest posting the trigger in another format. I can't read that thing.
You can select a trigger and right-click for "Copy as Text". That's better imo.
I can't do that. If anything that's exactly what I did, because I opened the triggers and copied them as text...



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Excalibur, Revenant, eksxo