Guest User

Untitled

a guest
Oct 20th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Untitled Trigger 003
  2. Events
  3. Conditions
  4. Actions
  5. Set point2 = (Point(3428.00, 3100.00))
  6. For each (Integer A) from 1 to 30, do (Actions)
  7. Loop - Actions
  8. For each (Integer B) from 1 to 52, do (Actions)
  9. Loop - Actions
  10. 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))
  11. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  12. If - Conditions
  13. ((group is empty) Equal to True) and ((Random real number between 0.00 and 1.00) Greater than 0.25)
  14. Then - Actions
  15. 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
  16. Else - Actions
  17. Do nothing
  18. Trigger - Run Untitled Trigger 001 <gen> (ignoring conditions)
Add Comment
Please, Sign In to add comment