Puuppamies
P
Puuppamies
It's been a while since I have made any kinds of triggers and now I have forgotten al of the basics. Could any one please tell me how to make some units to spawn and then to move to another location?
Like:
Like:
-
Sheeps
-

Events
-


Time - Every 0.50 seconds of game time
-
-

Conditions
-

Actions
-


Set Sheepspawn[1] = ((Center of Region 000 <gen>) offset by (500.00, 0.00))
-


Unit - Create 1 Sheep for Neutral Passive at Sheepspawn[1] facing 270.00 degrees
-


Custom script: call RemoveLocation (udg_Sheepspawn[1])
-


Set Smoveint[Smoveint2] = Smoveint[(Smoveint2 + 1)]
-


Set Sheep[Smoveint[Smoveint2]] = (Last created unit)
-


Set Sheepposition[Smoveint[Smoveint2]] = (Position of Sheep[Smoveint[Smoveint2]])
-


Set Sheepmove[Smoveint[Smoveint2]] = (Sheepposition[Smoveint[Smoveint2]] offset by 20.00 towards -90.00 degrees)
-


Unit - Move Sheep[Smoveint[Smoveint2]] instantly to Sheepmove[Smoveint[Smoveint2]]
-
-