Follower – Astrotech

Type: Allies brain
Level: not in gallery
Pages: 1
Description: Found in the Astro Explorer- Male Character model. Armed with an astro pistol and with the ability to fly, this is a variation of the Follower Ranged brain.

Kode

  1. WHEN [once] DO [equip][prop:Astro Blaster]
  2. …WHEN DO [team][equals][team 1]
  3. …WHEN [after][objects closer than][5][player][allies] DO [objvar:my leader][equals][it]
  4. …/…WHEN [duration timer][3] DO [say][text:Following]
  5. WHEN [objvar:my leader][equal to][nothing]
  6. …WHEN [objects closer than][5][allies] DO [objvar:my leader][equals][it]
  7. WHEN [enemies][objects closer than][20][minus dead objects]
  8. …WHEN [countdown timer][1][loop][trigger on start] DO [objvar:my enemy][equals][it]
  9. …WHEN [else] DO [move][toward][objvar:my leader][min distance][4]
  10. WHEN [not][objvar:my enemy][is dead] DO
  11. …WHEN DO [turn][toward][objvar:my enemy]
  12. …WHEN [distance to][objvar:my enemy][less than][4]
  13. …/…WHEN [duration timer][4] DO [move][in direction][right][with strafing][at speed][0.65]
  14. …WHEN [distance to][objvar:my enemy][less than][15]
  15. …/…WHEN [countdown timer][#pause attack][loop][trigger on start]
  16. …/…/…WHEN DO [shoot][at][objvar:my enemy][without hit reaction]
  17. …/…/…WHEN DO [#pause attack][equals][random number][0.9][to][1.25]
  18. …/…WHEN [else][countdown timer][0.5] DO [move][toward][objvar:my enemy]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: