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.
[12:51 am]
Ultraviolet -- RIVE
RIVE shouted: Beta 4 lyfe, ya kno
feels like a lower commitment. like if someone bitches about something, I can say it's in beta phase whatchu expect? :P
[2023-9-28. : 6:46 am]
RIVE -- Beta 4 lyfe, ya kno
[2023-9-28. : 5:26 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
indeed
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet prediction: It will. ;)
:massimo:
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
[2023-9-28. : 1:12 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet :lol: did you really just commit another shout just to add a bracket? :D
Damn straight! :P
[2023-9-27. : 7:22 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: Imp UV3 is actually in the works with some major changes, but it's been slow going. I'd like to have a version of Imp UV for every tileset at one point.. hopefully it doesn't take until 2030 :P
prediction: It will. ;)
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider Oh definitely fully playable. I used the first map as the shell, so it was basically complete from the first release. I've made some tweaks and improvements here and there based on nuances between the maps, like UV2 has more air units so certain ground-focused heroes like Psycho and Shadowcraft have needed some buffing. Other improvements have been little bug fixes or ways of stopping cheese strategies (like the bosses now spawn in a random location instead of at their lair so players can't just camp them with nukes. UV2 is definitely harder despite only being 4 levels + boss fight instead of 5. I'd say it's definitely worth a go, there's some unique mechanics that make each of the levels have kind of their own interesting spin
Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: nukes).* lol
:lol: did you really just commit another shout just to add a bracket? :D
[2023-9-27. : 4:22 pm]
ubtrueblue -- hello
Please log in to shout.


Members Online: Roy, leahrosa