• 🏆 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!
  • ✅ HD Level Design Contest #1 POLL is now OPEN! Check out the stunning visuals of the final entries. 🔗Click here to cast your vote!

[Trigger] Castle using

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:
Not open for further replies.