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

Woah

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



:devlin: Currently Working On: :devlin:
Myself

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.
[04:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
Please log in to shout.


Members Online: Andrea Rosa, Heinermann