Azrooh
New Member
- Reaction score
- 5
I have a trigger to randomly spawn trees around the map for my initialization, but the trees spawn on Village - Dirt even though I've set it not to. Here's my trigger:
Is there anything that's causing this?
Trigger:
- Init Trees
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- Actions
- Set TreeInitPoint = (Random point in (Playable map area))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Terrain pathing at TreeInitPoint of type Walkability is off) Not equal to True
- (Blues Base <gen> contains TreeInitPoint) Not equal to True
- (Reds Base <gen> contains TreeInitPoint) Not equal to True
- (Terrain type at TreeInitPoint) Not equal to Village - Dirt
- Then - Actions
- Destructible - Create a Summer Tree Wall at TreeInitPoint facing (Random angle) with scale (Random real number between 0.75 and 1.00) and variation (Random integer number between 0 and 9)
- Custom script: call RemoveLocation (udg_TreeInitPoint)
- Else - Actions
- If - Conditions
- Events
Is there anything that's causing this?