MjnMixael

Untitled

Aug 21st, 2011
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. #Events ;! 3 total
  2.  
  3. $Formula: ( when-argument
  4. ( any-of
  5. "Waypoint Path 1"
  6. "Waypoint Path 2"
  7. )
  8. ( or
  9. ( and
  10. ( are-waypoints-done-delay
  11. "GTDr Phidias 1"
  12. "<argument>"
  13. 0
  14. )
  15. ( = @Drone1Timer[0] 2 )
  16. )
  17. ( = @Drone1Timer[0] 1 )
  18. )
  19. ( add-goal
  20. "GTDr Phidias 1"
  21. ( ai-play-dead 89 )
  22. )
  23. ( fire-beam
  24. "GTDr Phidias 1"
  25. "turret01"
  26. "TSC 2 2"
  27. "Hull"
  28. ( true )
  29. )
  30. ( modify-variable @Drone1Timer[0] 3 )
  31. ( modify-variable
  32. @Drone1Delay[0]
  33. ( mission-time )
  34. )
  35. ( invalidate-argument "<argument>" )
  36. ( when
  37. ( = ( num-valid-arguments ) 0 )
  38. ( validate-all-arguments )
  39. )
  40. )
  41. +Name: FireBeam
  42. +Repeat Count: 1
  43. +Trigger Count: -1
  44. +Interval: 6
  45.  
  46. $Formula: ( when
  47. ( and
  48. ( = @Drone1Timer[0] 3 )
  49. ( =
  50. ( mission-time )
  51. ( + @Drone1Delay[0] 5 )
  52. )
  53. )
  54. ( send-message
  55. "#Command"
  56. "High"
  57. "Working"
  58. )
  59. ( modify-variable
  60. @Drone1Timer[0]
  61. ( rand-multiple 0 0 )
  62. )
  63. )
  64. +Name: BeamFired
  65. +Repeat Count: 1
  66. +Trigger Count: -1
  67. +Interval: 1
  68.  
  69. $Formula: ( when-argument
  70. ( random-multiple-of
  71. "Waypoint Path 1"
  72. "Waypoint Path 2"
  73. )
  74. ( = @Drone1Timer[0] 0 )
  75. ( clear-goals "GTDr Phidias 1" )
  76. ( add-goal
  77. "GTDr Phidias 1"
  78. ( ai-waypoints-once "<argument>" 89 )
  79. )
  80. ( modify-variable @Drone1Timer[0] 2 )
  81. ( invalidate-argument "<argument>" )
  82. ( when
  83. ( = ( num-valid-arguments ) 0 )
  84. ( validate-all-arguments )
  85. )
  86. )
  87. +Name: SetWaypoint
  88. +Repeat Count: 1
  89. +Trigger Count: -1
  90. +Interval: 1
Advertisement
Add Comment
Please, Sign In to add comment