Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.14 KB | None | 0 0
  1.  
  2. :::: INSTANCES ::::
  3.  
  4. Id: 1, Name: Send message "mission starts", TypeId: SendMessage ExecuteOnce: NO
  5. argument0:: Message number: Number = 15
  6.  
  7. Id: 2, Name: Drop Location, TypeId: StartHere ExecuteOnce: NO
  8. argument0:: X: X = 17
  9. argument1:: Y: Y = 66
  10.  
  11. Id: 3, Name: Send message sq, TypeId: SendMessage ExecuteOnce: NO
  12. argument0:: Message number: Number = 19
  13.  
  14. Id: 4, Name: Message: woman encountered, TypeId: SendMessage ExecuteOnce: NO
  15. argument0:: Message number: Number = 1
  16.  
  17. Id: 5, Name: Message: thanx, woman, TypeId: SendMessage ExecuteOnce: NO
  18. argument0:: Message number: Number = 2
  19.  
  20. Id: 6, Name: Message: Snoot, TypeId: SendMessage ExecuteOnce: NO
  21. argument0:: Message number: Number = 3
  22.  
  23. Id: 7, Name: Message: Rogues are dead, TypeId: SendMessage ExecuteOnce: NO
  24. argument0:: Message number: Number = 4
  25.  
  26. Id: 8, Name: Message: Item, TypeId: SendMessage ExecuteOnce: NO
  27. argument0:: Message number: Number = 17
  28.  
  29. Id: 9, Name: Message: Sq/forest, TypeId: SendMessage ExecuteOnce: NO
  30. argument0:: Message number: Number = 10
  31.  
  32. Id: 10, Name: Message: Bees, TypeId: SendMessage ExecuteOnce: NO
  33. argument0:: Message number: Number = 14
  34.  
  35. Id: 11, Name: Message: Ghosts, TypeId: SendMessage ExecuteOnce: NO
  36. argument0:: Message number: Number = 18
  37.  
  38. Id: 12, Name: Message: squirells, TypeId: SendMessage ExecuteOnce: NO
  39. argument0:: Message number: Number = 19
  40.  
  41. Id: 13, Name: Witch starts defending, TypeId: Command::DefendSelf ExecuteOnce: NO
  42. argument0:: Const: Const = 11
  43. argument1:: Unit to defend: Unit = 10001
  44. argument2:: Follow range: Number = 3
  45. argument9:: Group: Group = 2
  46.  
  47. Id: 14, Name: Witch go to Snoot, TypeId: Command::Move ExecuteOnce: NO
  48. argument0:: Const: Const = 4
  49. argument1:: X: X = 66
  50. argument2:: Y: Y = 16
  51. argument9:: Group: Group = 2
  52.  
  53. Id: 15, Name: Force "Mission Complete" state, TypeId: ForseMissionComplete ExecuteOnce: NO
  54.  
  55. Id: 16, Name: Witch Follows, TypeId: Command::Follow ExecuteOnce: NO
  56. argument0:: Const: Const = 15
  57. argument1:: Group: Group = 2
  58. argument2:: Unit to defend: Unit = 10001
  59. argument3:: Follow range: Number = 3
  60.  
  61. Id: 17, Name: We have got Snoot, TypeId: ChangeGroupsOwner ExecuteOnce: NO
  62. argument0:: Group: Group = 16
  63. argument1:: New owner ( player ): Fraction = 1
  64.  
  65. Id: 18, Name: Message: Sack found, TypeId: SendMessage ExecuteOnce: NO
  66. argument0:: Message number: Number = 16
  67.  
  68. Id: 19, Name: Message: Start, TypeId: SendMessage ExecuteOnce: NO
  69. argument0:: Message number: Number = 15
  70.  
  71. Id: 20, Name: Group Command : Follow, TypeId: Command::Follow ExecuteOnce: NO
  72. argument0:: Const: Const = 15
  73. argument1:: Group: Group = 2
  74. argument2:: Unit to defend: Unit = 10001
  75. argument3:: Follow range: Number = 3
  76.  
  77. Id: 21, Name: Drop all, TypeId: DropAll ExecuteOnce: NO
  78. argument0:: Unit: Unit = 21
  79.  
  80. Id: 22, Name: Patrol1, TypeId: Command::Patrol ExecuteOnce: NO
  81. argument0:: Const: Const = 14
  82. argument1:: X: X = 53
  83. argument2:: Y: Y = 19
  84. argument9:: Group: Group = 18
  85.  
  86. Id: 23, Name: Patrol2, TypeId: Command::Patrol ExecuteOnce: NO
  87. argument0:: Const: Const = 14
  88. argument1:: X: X = 54
  89. argument2:: Y: Y = 13
  90. argument9:: Group: Group = 17
  91.  
  92. Id: 24, Name: give witch, TypeId: ChangeGroupsOwner ExecuteOnce: NO
  93. argument0:: Group: Group = 2
  94. argument1:: New owner ( player ): Fraction = 1
  95.  
  96. Id: 25, Name: remove witch, TypeId: ChangeGroupsOwner ExecuteOnce: NO
  97. argument0:: Group: Group = 2
  98. argument1:: New owner ( player ): Fraction = 2
  99.  
  100. Id: 26, Name: Increment variable, TypeId: IncrementVariable ExecuteOnce: NO
  101. argument0:: Variable: Number = 50
  102.  
  103. Id: 27, Name: Witch GIVES scrolls, TypeId: GiveAllItemsFromUnitToUnit ExecuteOnce: NO
  104. argument0:: Giving Unit: Unit = 21
  105. argument1:: Taking Unit: Unit = 10001
  106.  
  107. Id: 28, Name: Witch flees, TypeId: ChangeUnitsOwner ExecuteOnce: NO
  108. argument0:: Unit: Unit = 21
  109. argument1:: New owner ( player ): Fraction = 2
  110.  
  111.  
  112. :::: CHECKS ::::
  113.  
  114. Id: 1, Name: Constant Value = 0, TypeId: Constant, ExecuteOnce: NO
  115. argument0:: Value: Number = 0
  116.  
  117. Id: 2, Name: Near sack, TypeId: GetDistanceFromPointToUnit, ExecuteOnce: NO
  118. argument0:: Unit: Unit = 10001
  119. argument1:: X: X = 20
  120. argument2:: Y: Y = 65
  121.  
  122. Id: 3, Name: Near woman, TypeId: GetDistanceFromPointToUnit, ExecuteOnce: NO
  123. argument0:: Unit: Unit = 10001
  124. argument1:: X: X = 36
  125. argument2:: Y: Y = 51
  126.  
  127. Id: 4, Name: Near village, TypeId: GetDistanceFromPointToUnit, ExecuteOnce: NO
  128. argument0:: Unit: Unit = 21
  129. argument1:: X: X = 56
  130. argument2:: Y: Y = 21
  131.  
  132. Id: 5, Name: Near Snoot, TypeId: GetDistanceFromPointToUnit, ExecuteOnce: NO
  133. argument0:: Unit: Unit = 10001
  134. argument1:: X: X = 66
  135. argument2:: Y: Y = 16
  136.  
  137. Id: 6, Name: Near item, TypeId: GetDistanceFromPointToUnit, ExecuteOnce: NO
  138. argument0:: Unit: Unit = 10001
  139. argument1:: X: X = 38
  140. argument2:: Y: Y = 64
  141.  
  142. Id: 7, Name: Rogues, TypeId: GroupUnitCount, ExecuteOnce: NO
  143. argument0:: Group: Group = 1
  144.  
  145. Id: 8, Name: Sq/forest, TypeId: GroupUnitCount, ExecuteOnce: NO
  146. argument0:: Group: Group = 4
  147.  
  148. Id: 9, Name: Bees, TypeId: GroupUnitCount, ExecuteOnce: NO
  149. argument0:: Group: Group = 7
  150.  
  151. Id: 10, Name: Ghosts, TypeId: GroupUnitCount, ExecuteOnce: NO
  152. argument0:: Group: Group = 3
  153.  
  154. Id: 11, Name: Squirells, TypeId: GroupUnitCount, ExecuteOnce: NO
  155. argument0:: Group: Group = 5
  156.  
  157. Id: 12, Name: Constant Value = 3, TypeId: Constant, ExecuteOnce: NO
  158. argument0:: Value: Number = 3
  159.  
  160. Id: 13, Name: VIP: witch, TypeId: VeryImportantPerson, ExecuteOnce: NO
  161. argument0:: Unit: Unit = 21
  162.  
  163. Id: 14, Name: VIP: Snoot, TypeId: VeryImportantPerson, ExecuteOnce: NO
  164. argument0:: Unit: Unit = 51
  165.  
  166. Id: 15, Name: Return value of variable, TypeId: CheckVariable, ExecuteOnce: NO
  167. argument0:: Variable: Number = 50
  168.  
  169. Id: 16, Name: Get sack, TypeId: CheckSack, ExecuteOnce: NO
  170. argument0:: X: X = 38
  171. argument1:: Y: Y = 64
  172.  
  173.  
  174. :::: TRIGGERS ::::
  175.  
  176. [Run Once] Just Start => if Constant Value = 0 == Constant Value = 0:
  177. Send message "mission starts"();
  178. Patrol1();
  179. Patrol2();
  180.  
  181. [Run Once] Deploy Location => if true:
  182. Drop Location();
  183.  
  184. [Run Once] Woman found => if Near woman <= Constant Value = 3 && Rogues == Constant Value = 0:
  185. Message: woman encountered();
  186. give witch();
  187.  
  188. [Run Once] Thanx, woman => if Near village <= Constant Value = 3:
  189. Message: thanx, woman();
  190. Witch flees();
  191. Witch GIVES scrolls();
  192. Increment variable();
  193.  
  194. [Run Once] Snoot => if Near Snoot <= Constant Value = 3 && Return value of variable != Constant Value = 0:
  195. Message: Snoot();
  196. Force "Mission Complete" state();
  197.  
  198. [Run Once] Item => if Get sack == Constant Value = 0:
  199. Message: Item();
  200.  
  201. [Run Once] Kill: rogues => if Rogues == Constant Value = 0:
  202. Message: Rogues are dead();
  203.  
  204. [Run Once] Kill: sq/forest => if Sq/forest == Constant Value = 0:
  205. Message: Sq/forest();
  206.  
  207. [Run Once] Kill: bees => if Bees == Constant Value = 0:
  208. Message: Bees();
  209.  
  210. [Run Once] Kill: ghosts => if Ghosts == Constant Value = 0:
  211. Message: Ghosts();
  212.  
  213. [Run Once] Kill: squirells => if Squirells == Constant Value = 0:
  214. Message: squirells();
  215.  
  216. VIPs => if VIP: witch != VIP: Snoot:
  217.  
  218. [Run Once] Sack found => if Near sack == Constant Value = 0:
  219. Message: Sack found();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement