Toad Brain

Type: Animal Brain
Level: not in gallery
Pages: 2
Description: Found in the Horned Toad model. Similar to the wandering animal brain.

Kode

page 1 @Wander

  1. WHEN [countdown timer][2][hold time][4][loop] DO [move][at speed][0.2]
  2. WHEN [countdown timer][2][loop] DO [#turn direction][equals][random number][1][to][2][as integer]
  3. WHEN [countdown timer][random number][5][to][10][as integer][loop] DO [play sound][Animal Horned Toad]
  4. WHEN [moving]
  5. …WHEN [duration timer][2][loop]
  6. …/…WHEN [#turn direction][equal to][1] DO [turn][in direction][right][slowly]
  7. …/…WHEN [#turn direction][equal to][2] DO [turn][in direction][left][slowly]
  8. WHEN [bump] DO [turn][away from][it][quickly]
  9. WHEN [detect][player]
  10. …WHEN DO [objvar:my player][equals][it]
  11. …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][Foley Animal Sound]
  3. WHEN DO [move][away from][objvar:player]
  4. WHEN [countdown timer][2]
  5. …WHEN [not][detect][player] DO [switch page][page:@Wander]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: