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

help please Trigger

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How do I create a trigger to ONCE every three seconds... something
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Every 3 seconds (periodic event set to 3 seconds).
set groupvariable = units owned by player X of type Y
if conditions are true then
conditions
number of units in groupvariable < 8
then
> create 1 unit of type Y for player X somewhere facing something
else
> do nothing (this action is not needed, just here to show that else is not used).
destroy groupvariable

Literally that simple.
 
Status
Not open for further replies.
Top