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.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy, Ultraviolet