• 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] Castle using

Status
Not open for further replies.
  • Trigger Spawn
  • Events
    • Time - Every X seconds of game-time
  • Conditions
  • Actions
    • Set Point1 = (Center of (your region))
    • Set Temp_Group = (Units owned by (Your Player) of type (Castle))
    • Unit - Create ((count units in group (Temp_Group) * <number of units to spawn per castle>) <Units to spawn> for <Your player> at Point1 facing default building facing degrees
    • Custom script: call RemoveLocation (udg_Point1)
    • Custom script: call DestroyGroup (udg_Temp_Group)
Like this.
Point1 is "Point" variable and "Temp_Group" is Unit Group variable.
 
Last edited:
Status
Not open for further replies.
Top