So. I've made a little trigger that will create loads of trees around the map. However they get placed in places such as water and they clash into other objects and stuff. Any ideas?
Here's my trigger:
Here's my trigger:
-
Untitled Trigger 001
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
-
For each (Integer A) from 1 to (Random integer number between 25 and 75), do (Actions)
-
Loop - Actions
- Destructible - Create a Tree 01 at (Random point in (Entire map)) facing (Random angle) with scale 2.00 and variation 1
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Terrain cliff level at (Position of (Last created destructible))) Less than 2
-
Then - Actions
- Destructible - Remove (Last created destructible)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
For each (Integer A) from 1 to (Random integer number between 75 and 150), do (Actions)
-
Loop - Actions
- Destructible - Create a Tree 02 at (Random point in (Entire map)) facing (Random angle) with scale 2.00 and variation 1
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Terrain cliff level at (Position of (Last created destructible))) Less than 2
-
Then - Actions
- Destructible - Remove (Last created destructible)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
For each (Integer A) from 1 to (Random integer number between 75 and 150), do (Actions)
-
Loop - Actions
- Destructible - Create a Tree 03 at (Random point in (Entire map)) facing (Random angle) with scale 2.00 and variation 1
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Terrain cliff level at (Position of (Last created destructible))) Less than 2
-
Then - Actions
- Destructible - Remove (Last created destructible)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
For each (Integer A) from 1 to (Random integer number between 25 and 75), do (Actions)
-
Events