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.
[05:47 pm]
Ultraviolet -- zsnakezz
zsnakezz shouted: ultra you have any thought or notes on undead invasion?
I still haven't gotten a chance to play it yet unfortunately. I just downloaded, but today I'm working on a project with a deadline so won't be able to play it today
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
Please log in to shout.


Members Online: Roy