Detect Player – Damage It

Type: Hazard
Level: not in gallery
Pages: 1
Description: Found in Poison Cloud Assembly. When player is detected they are damaged.The player will flash but not produce a reaction and their health will lower.

Kode

  1. WHEN [detect][player] DO [damage][player][5][without hit reaction]

Alterations

Poison cloud poisons player until half their health is removed, the player collapses and the cloud disappates.

  1. WHEN [detect][player] DO [objvar:target][equals][it]
  2. …WHEN [objvar:target][health][greater then][(][max health][divided by][2][)]
  3. …/…WHEN DO [damage][objvar:target][5][without hit reaction]
  4. …/…WHEN [else] DO [boolvar:poisioned][equals][true]
  5. WHEN [boolvar:poisoned]
  6. …WHEN [duration timer][2] DO [objvar:target][emote][stunned]
  7. …WHEN [countdown timer][2] DO [objvar:target][emote][Fall down]
  8. …/…WHEN DO [power off]
  9. …WHEN [countdown timer][3.5] DO [objvar:target][pace][equals][0]
  10. …WHEN [countdown timer][5] DO [boolvar:poisioned][equals][false]
  11. …/…WHEN DO [objvar:target][pace][equals][1]
  12. …/…WHEN DO [destroy][me]

 

 

 

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: