• 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.

Food Limit Trigger

Status
Not open for further replies.
Level 3
Joined
Apr 5, 2007
Messages
51
hey for my new map i need a trigger like this to be going on and i dont know how:

Every 1 second of the game

If Player 12 (Brown) food produced is equal to 100
-Then turn off (Scourge Spawns)
-If not (Else) Do nothing



thanks for the help
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
I think it's better to do something like this in your SPAWN TRIGGER

Events: Every 10 seconds (or any interval you use for your spawning)
Conditions: Player 12 Food used is less than or equal to 100
Actions: unit - spawn Abonimation at (region 001) for Player 12

rather than having 2 separate triggers.

This is for your mount Hyjal project, isn't it?
 
Level 3
Joined
Apr 5, 2007
Messages
51
thanks, ill get this working once i get home. thanks for the help

yeah it is for the mount hyjal map. i have a problem with a overload of scourge units and im fixing it now
 
Status
Not open for further replies.
Top