• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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