Astro Marine

Type: Allies brain
Level: not in gallery
Pages: 1
Description: Found in the Astro Marine Character. A variation of the Follower – Ranged brain.

Kode

  1. WHEN  [once] DO [team][equals][team 1]
  2. …WHEN DO [objvar:my weapon][equals] [equip][prop:Laser Rifle Heavy]
  3. WHEN [after][objects closer than][5][player][allies] DO [objvar:my leader][equals][it]
  4. …WHEN [started to] DO [emote][mad]
  5. …WHEN [duration timer][2] DO [say][text:Armed and ready]
  6. WHEN [objvar:my leader][equal to][nothing]
  7. …WHEN [objects closer than][5][allies] DO [objvar:my leader][equals][it]
  8. WHEN [objvar:my enemy][is dead] DO [objvar:my enemy][equals][nothing]
  9. WHEN [distance to][objvar:my enemy][greater than][13] DO [objvar:my enemy][equals][nothing]
  10. WHEN [is ally with][objvar:my enemy] DO [objavr:my enemy][equals][nothing]
  11. WHEN [objvar:my enemy][equal to][nothing]
  12. …WHEN [for each of][enemies][objects closer than][15]
  13. …/…WHEN [not][it][is dead]DO [objvar:myenemy][equals][it]
  14. …WHEN DO [turn][toward][objvar:my leader]
  15. WHEN DO [move][toward][my leader][min distance][5][with strafing]
  16. WHEN [not][objvar:my enemy][is dead] DO [turn][toward][objvar:my enemy][quickly]
  17. …WHEN [distance to][objvar:my enemy][greater than][13] DO [boolvar:enemy in range][equals][false]
  18. …/…WHEN [else] DO [boolvar:enemy in range][equals][true]
  19. …WHEN [boolvar:enemy in range]
  20. …/…WHEN DO [play fx][fx:Sci Fi Highlight][at position][objvar:my enemy][center]
  21. …/…WHEN [countdown timer][pause attack][loop][trigger on start]
  22. …/…/….WHEN [distance to][objvar:my enemy][less than or equal to][7] DO [throw][prop:Astro Marine granade][with damage][0][at][objvar:my enemy][launch frequency][1][without hit reaction][launch low][at speed][6]
  23. …/…/….WHEN [else] [distance to][objvar:my enemy][greater than][7][and][distance to][objvar:my enemy][less than or equal to][13] DO [shoot][at][objvar:my enemy][launch frequency][1][at speed][25]
  24. …/…WHEN DO [numvar:pause attack][equals][random number][1.5][to][2.5]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: