Staredit Network > Forums > SC2 Assistance > Topic: Ammunition pick-up trigger
Ammunition pick-up trigger
Sep 1 2010, 6:21 am
By: Alzarath  

Sep 1 2010, 6:21 am Alzarath Post #1

Praetor

So, I have this Trigger... Here's what it's supposed to do:

Guy walks up to a pickup item
Item vanishes
Guy gets +5 ammo on whichever ability they have (it's selectable at the beginning of the map)
Item respawns after a while.

Problem is, it doesn't give the ammo. to any of the abilities.

EDIT: I think the ability doesn't use ammo, it uses charges, but I have no idea how to add charges. :\

Post has been edited 1 time(s), last time on Sep 1 2010, 6:53 am by Artanis186.



None.

Sep 1 2010, 7:58 am Temp Post #2



You add charges with the Add Charge Used For Unit Ability trigger, just set the number to a negative.



None.

Sep 1 2010, 9:22 am Alzarath Post #3

Praetor

Quote from Temp
You add charges with the Add Charge Used For Unit Ability trigger, just set the number to a negative.

Tried that already, didn't do anything. Do I have to put something in the 'Charge: ""' thing? Cuz I have no idea what I'd type...



None.

Sep 1 2010, 4:07 pm Biophysicist Post #4



First thing to try: Make sure that the trigger actually runs when you think it should. Put a display text message action somewhere in there and see if it's displayed.

I've never worked with charges before so I don't know what else to tell you. >.>



None.

Sep 1 2010, 4:38 pm Alzarath Post #5

Praetor

Well, as I suspected, I did have to add something to the 'Charge: ""' field. You actually have to put the abilities link, not the ID, the link, in that field. I got it working (afaik).

Oh, and I already knew it was working, otherwise the item wouldn't have vanished.

A rather complicated thing. I actually had to check in the campaign map to see how they did it with Raynor's grenades, and even that didn't give me all the info I needed.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
[2026-4-25. : 3:20 pm]
NudeRaider -- Vrael
Vrael shouted: moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
boy, if you're not careful I'll moderate your sorry ass too!
[2026-4-25. : 3:06 pm]
RIVE -- Yyyes. Don't you see it?
[2026-4-25. : 2:11 pm]
Vrael -- moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
[2026-4-25. : 1:39 pm]
NudeRaider -- anoeth47
anoeth47 shouted: Can I get a moderator/lord of the forum to clean up my topics - delete posts not really part of the topic.
send me the links of the posts you want deleted via pm
Please log in to shout.


Members Online: Andrea Rosa, NudeRaider