Unit respawn

Crofna

New Member
Reaction score
0
I have loads of skeletonz/zombiez wich i want to appear on certain place each 5 minutes of game. How to do it?
 

Furby

Current occupation: News poster
Reaction score
144
Trigger:
  • Your Trigger
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • Set tempPoint = (Center of (Playable map area))
      • Unit - Create 20 Zombie for Player 12 (Brown) at tempPoint facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_tempPoint)
 

Crofna

New Member
Reaction score
0
I did

Trigger:
  • Skeleton respawn
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 20 Skeleton Warrior for Player 1 (Red) at (Center of Region 000 <gen>) facing 0.00 degrees
      • Custom script: call RemoveLocation(udg_tempPoint)


But how to do

Trigger:
  • Set tempPoint = (Center of (Playable map area))
 

Furby

Current occupation: News poster
Reaction score
144
You must create a variable to do that. Variable of type Point.
 

Crofna

New Member
Reaction score
0
Trigger:
  • Skeleton respawn
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • Set tempPoint = (Center of Region 000 <gen>)
      • Unit - Create 20 Skeleton Warrior for Player 5 (Yellow) at (Center of Region 000 <gen>) facing 0.00 degrees
      • Custom script: call RemoveLocation(udg_tempPoint)


Working?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top