Wandering Key

Type: NPC Brain
Level: not in gallery
Pages: 2
Description: Found in the Key character.A variation of the Wandering Animal brain.

Kode

page 1 @Wander

  1. WHEN [countdown timer][2][hold time][4][loop] DO [move][at speed][0.15
  2. WHEN [countdown timer][2][loop] DO [numvar:turn direction][equals][random number][1][to][2][as integer]
  3. WHEN [moving]
  4. …WHEN [duration timer][2][loop]
  5. …/…WHEN #turn direction][equal to][1] DO [turn][in direction][right][slowly]
  6. …/…WHEN [#turn direction][equal to][2] DO [turn][in direction][left][slowly]
  7. WHEN [bump] DO [turn][away from][it][quickly]
  8. WHEN [detect][player] DO [switch page][page: @ Flee from Player]

page 2 @ Flee from Player

  1. WHEN [page entered] DO [jump]
  2. WHEN [duration timer][1] DO [play sound][sound:Cartoon Key Jump]
  3. WHEN [detect][Player] DO [move][away from][it][at speed][0.8]
  4. WHEN [no longer][detect][player] DO [switch page][@Wander]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: