Possessed Object

Type: Hazard
Level: 2 star
Pages: 2
Description: When the player approaches, this prop spins and rises into the air, then throws itself at the player or the ground, depending on where the player is and explodes.

Note: It appears to have 5 pages, but 3 and 4 are blank.

Kode

page 1 @Waiting for Player (Waiting for Player)

  1. WHEN [detect][player]
  2. …WHEN DO [power on]
  3. …WHEN DO [objvar: player][equals][it]
  4. WHEN [has power]
  5. …WHEN DO [move][world up][with flying][at speed][0.1]
  6. …WHEN DO [yaw]
  7. …WHEN DO [highlight][blue]
  8. …WHEN DO [play sound][sound:Magic Portal][volume][100]
  9. …WHEN [started to][countdown timer][1.5]
  10. …/…WHEN DO [fall]
  11. …/…WHEN DO [throw][me][at][objvar:player][at speed][10]
  12. …/…WHEN DO [switch page][page@Platter on Impact]
  13. WHEN [is dead] DO [play fx][Ethereal Skull][at position][position]

page 2 @Splatter on Impact

  1. WHEN DO [highlight][blue]
  2. WHEN [bump][or][bump terrain] DO [kill][me]
  3. WHEN [is dead] DO [play fx][fx:Ethereal skul][at position][position]

 

Alterations

Correct the special effect
This brain is faulty. You may notice that the ethereal skull does not make an appearance, despite being on both pages of this brain. There is just not enough time to play the effect. So try this.

page 2

  1. WHEN DO [highlight][blue]
  2. WHEN [started to][bump][or][bump terrain] DO [visible][equals][false]
  3. WHEN  DO [play fx][fx:Ethereal skull][at position][position]
  4. WHEN DO [play fx][fx:Arcane spell circle] [at position][position] // whatever special effect you want for the hit
  5. WHEN [countdown timer][2] DO [destroy]

Damage the player
Despite looking dangerous this actually does not do anything. Add to page 2 as a child line to line 2

WHEN DO [damage][it][10]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: