MjnMixael

Untitled

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