Killerphill
New Member
- Reaction score
- 1
hi guys, is there a way to create units in a specific terrain type, for example: create 1 footmen at random location in grass terrain type.
thanks in advance.
thanks in advance.
Untitled Trigger 001
Events
Time - Every 0.25 seconds of game time
Conditions
Actions
Set TempPoint = (Random point in (Playable map area))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at TempPoint) Equal to Lordaeron Summer - Grass
Then - Actions
Unit - Create 1 Footman for Player 1 (Red) at TempPoint facing Default building facing degrees
Else - Actions
Custom script: call RemoveLocation (udg_TempPoint)