Follower – Normal

Type: Allies brain
Level: 3 star
Pages: 1
Description: NPC Ally brain. Very similar (if not near identical) to Follower Melee, the only difference being the character is “armed” with a torch and only goes into attack mode when hit (they do not rush to attack enemies).

Kode

  1. WHEN [once] DO  [equip][Woodsmans Torch]
  2. …WHEN DO [team][equals][team 1]

    Determines that the player is an ally and offers help

  3. …WHEN [after][objects closer than][5][player][allies] DO [objvar:my leader][equals][it]
  4. …/…WHEN [duration timer][2] DO [say][text:Im here to help]
  5. WHEN [objvar:my leader][equal to][nothing]
  6. …WHEN [objects closer than][5][allies] DO [objvar:my leader][equals][it]
  7. WHEN DO [move][toward][my leader][min distance][4]

    Attack kode

  8. WHEN [hit by attack] DO [objvar:myenemy][equals][it]
  9. WHEN [not][objvar:my enemy][is dead] DO [move][toward][my enemy]
  10. …WHEN [distance to][objvar:myenemy][less than][2]
  11. …/…WHEN[countdown timer][numvar:pause attack][loop][trigger on start] DO [attack][objvar:my enemy][with windup][end combo]
  12. …/…/…WHEN [numvar: pause attack][equals][random number][0.5][to][2]

Alterations

Make the torch give off light
The follower carries a lit torch, but the torch does not give off light. Make a templated torch with a lightbulb attached to it with flickering effect. By default the lightbulb prop itself  is invisible. Change line 1 to [IWP: Torch]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: