• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Amo Trigger Help

Status
Not open for further replies.
Level 2
Joined
Apr 24, 2007
Messages
17
Hey can anyone tell me if this trigger works, or is there a better one...

Events-Unit being attacking
Conditions-Triggering Unit equal to Marine
Action-New Action-> Every 0.25 seconds
Subtract 1 Gold(which is the Amo) from owner of triggering unit.
 
Level 6
Joined
Feb 2, 2005
Messages
205
In addition to prupelpoot i would suggest this:

The Trigger wouldnt stop the marine from shooting, when gold reaches 0, so you should add an "if" which checks the gold ammount and if its equal to zero do an stop order, on the other hand you'll just need an set smmount of gold of owner of triggering unit to current gold - 1.

No need of the 0.25 sec stuff.
 
Level 2
Joined
Apr 24, 2007
Messages
17
oh...ok..\

btw the 0.25 sec is how fast the marine attacks which i 4got to mention, and that im just making one so it depletes, not stopping the marine. Thats later. thz though.

Ok, ty all for helping me last time, now i need help again lol.

I need to find out how to do 2 things:
Making a limit to your 'gold' (which will be amo)
and
How to do a head shot trigger, the ones in some sniper games.



im not very good at this stuff, only mazes :emote_grin:
 
Last edited by a moderator:
Status
Not open for further replies.
Top