Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Untitled Trigger 003
- Events
- Conditions
- Actions
- Set point2 = (Point(3428.00, 3100.00))
- For each (Integer A) from 1 to 30, do (Actions)
- Loop - Actions
- For each (Integer B) from 1 to 52, do (Actions)
- Loop - Actions
- Set group = (Units within 96.00 of (point2 offset by (((Real((Integer A))) x -128.00), ((Real((Integer B))) x -128.00))) matching ((Unit-type of (Matching unit)) Equal to Footman))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((group is empty) Equal to True) and ((Random real number between 0.00 and 1.00) Greater than 0.25)
- Then - Actions
- Destructible - Create a Summer Tree Wall at (point2 offset by (((Real((Integer A))) x -128.00), ((Real((Integer B))) x -128.00))) facing (Random angle) with scale 1.00 and variation 0
- Else - Actions
- Do nothing
- Trigger - Run Untitled Trigger 001 <gen> (ignoring conditions)
Add Comment
Please, Sign In to add comment