• 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] Spawn System

Status
Not open for further replies.
Level 15
Joined
Sep 3, 2006
Messages
1,738
[trigger=First Trigger]First Trigger
Event - Unit buys something
Conditions -
Actions - Turn on Next Trigger
[/trigger]
[trigger=Next Trigger]Next Trigger
Event - Every 60 seconds
Conditions -
Actions - Spawn 01 Unit at Unit_Spawn_Region
Pick Every Unit in Unit_Spawn_Region and order it to Attack-Move to Next_Region[/trigger]
 
Level 9
Joined
Feb 19, 2006
Messages
115
[trigger=First Trigger]First Trigger
Events
An Upgrade is Finished
Conditions -
Upgrade comparison - Upgrade equal to YourUpgrade (or something like that)
Actions - Turn on Next Trigger
Turn off (this trigger)
[/trigger]
[trigger=Next Trigger]Next Trigger
Events
Periodic event - Every 60 seconds
Conditions -
Actions
Unit - Create (Current research level of ability for APlayer) Footman for APlayer at (Unit_Spawn_Region) facing Default building facing degrees
Unit - Order last created unit to Attack-Move to Next_Region[/trigger]
 
Status
Not open for further replies.
Top