• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[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