Fireworks Rocket A

Type: Prop Brain
Level: not in gallery
Pages: 1
Description: This brain is found in the prop Firework Rocket A. When the player interacts with the rocket it shoots up into the sky and explodes in a firework effect.

Kode

  1. WHEN [interacted] DO [power on]
  2. WHEN [has power]
  3. …WHEN [once] DO [play fx][fx:Fireworks candle]
  4. …WHEN [duration timer][2]
  5. …/…WHEN DO [move][with flying][object up]
  6. …WHEN [countdown timer][2]
  7. …/…WHEN DO [play fx][f:Fireworks Explosion C][at position][position][scale][3]
  8. …/…WHEN DO [destroy]

Alterations

Delay fuse

  1. WHEN [interacted] DO [power on]
  2. WHEN [has power]
  3. …WHEN [once] DO [play fx][fx:Fireworks candle]
  4. …WHEN [countdown timer][2] // choose the time of the delay here
  5. …/…WHEN [duration timer][2]
  6. …/…/…WHEN DO [move][with flying][object up]
  7. …/…WHEN [countdown timer][2]
  8. …/…/…WHEN DO [play fx][f:Fireworks Explosion C][at position][position][scale][3]
  9. …/…/…WHEN DO [destroy]

Random faulty firework

  1. WHEN [interacted] DO [power on]
  2. …WHEN DO [#action][equals][random number][1][to][4][as integer] // how ever many different random actions you want
  3. WHEN [has power]
    Rocket shoots up and explodes in the air after a short delay as fuse burns
  4. …WHEN [#action][equal to][1]
  5. …/…WHEN [once] DO [play fx][fx:Fireworks candle]
  6. …/…WHEN [countdown timer][2] // choose the time of the delay here
  7. …/…/…WHEN [duration timer][2]
  8. …/…/…/…WHEN DO [move][with flying][object up]
  9. …/…/…WHEN [countdown timer][2]
  10. …/…/…/…WHEN DO [play fx][f:Fireworks Explosion C][at position][position][scale][3]
  11. …/…/…/…WHEN DO [destroy]
    Rocket falls over and fizzles out
  12. …WHEN [#action][equal to][2]
  13. …/…WHEN DO [physics type][equals][tumbling]
  14. …/…WHEN DO [fall]
  15. …/….WHEN [countdown timer][2] DO [power off]
    Rocket lights then turns off
  16. …WHEN [#action][equal to][3]
  17. …/…WHEN [duration timer][2] DO [play fx][fx:Firework candle Explosion]
  18. …/…WHEN [countdown timer][2] DO [power off]
    Rocket falls over shoots along the ground, twists and turns and explodes
  19. …WHEN [#action][equal to][4]
  20. …/…WHEN DO [physics type][equals][tumbling]
  21. …/…WHEN DO [fall]
  22. …/…WHEN [once] DO [play fx][fx:Fireworks candle]
  23. …/…WHEN [countdown timer][2] // choose the time of the delay here
  24. …/…/…WHEN [duration timer][2]
  25. …/…/…/…WHEN DO [move][with flying][object up]
  26. …/…/…WHEN [countdown timer][2]
  27. …/…/…/…WHEN DO [play fx][f:Fireworks Explosion C][at position][position][scale][3]
  28. …/…/…/…WHEN DO [destroy]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: