Place pathing blockers on the cliffs.
Ah, but there are no units. It's a doodad.
Do like this with the doodads in question:
View attachment 47226
Ouch, this might end up in creating no crate. You should run this trigger again so the trigger will try to spawn one until it finds a random point where it is possible.Thanks so much this worked like this.
Solved~
- Crates
- Events
- Time - Every 20.00 seconds of game time
- Conditions
- (Number of units in (Units of type Crate)) Less than 250
- Actions
- Set CratePoint = (Random point in (Playable map area))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Terrain cliff level at CratePoint) Equal to 2
- Then - Actions
- Unit - Create 1 Crate for Neutral Passive at CratePoint facing Default building facing degrees
- Else - Actions
- Custom script: call RemoveLocation (udg_CratePoint)