Dragon Passage

Type: Assembly Brain
Level: not in gallery
Pages: 1
Description: When a lever is pulled the dragons skeleton head opens with special effects and sound. Used as a doorway.

Kode

Lever (power attached to jaw)

  1. WHEN [interacted] DO [toggle][has power]
  2. WHEN [started to][has power] DO [Dragon jaw][boolvar:open][equals][true]
  3. …WHEN DO [pop brain] // stops the lever from being usable again

Dragon jaw

  1. WHEN [started to]
  2. …WHEN DO [iwp:Dragon head][tertiary color][equals][orange]
  3. …WHEN DO [iwp:dragon head][tertiary color][saturation][equals][0]
  4. WHEN [boolvar:open][equal to][true]
  5. …WHEN [started to] DO [power on]
  6. …WHEN [for each of][iwp:dragon head][attachments]
  7. …/…WHEN DO [it][has power][equals][true]
  8. …WHEN [duration timer][3] DO [pitch][random number][-0.18][to][-0.3]
  9. …/…WHEN DO [iwp: tertiary color][saturation][increment by][0.042]
  10. …/…WHEN DO [play sound][sound: Material Marble Object Drag]
  11. …/…WHEN DO [move][world down][at speed][0.005][with flying]
  12. …/…WHEN DO [camera shake]
  13. …WHEN [countdown timer][3] DO [boolvar:open][equals][false]
  14. WHEN [started to][boolvar:open][equal to][false]
  15. …WHEN [for each of][iwp:Dragon head][attachments]
  16. …/…WHEN [it][equal to][fx:Falling rocks] DO [it][has power][equals][false]
  17. …WHEN DO [pop brain]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: