Grenade / Interact – Equip Me

Type: Prop Brain
Level: not in gallery
Pages: 1
Description: Found in the Astro Marine Grenade. When thrown as a projectile the grenade makes noises and plays effects, detonating 2 seconds after throwing, damaging any enemy 40 health points within a 3.5 metre radius.


  1. WHEN [once] DO [numvar:fuse time][equals][2] // you can change this for any time you wish
  2. …WHEN DO [objvar:owner][equals][creator] // this is used if the grenade is created by the player rather than picked up and thrown
  3. …WHEN DO [bounciness][equals][0.15
  4. WHEN [countdown timer][0.3]
  5. …WHEN [not equipped][and][not][boolvar:thrown]
  6. …/…WHEN [interacted] DO [it][equip][me[
  7. WHEN [equipped] DO [objvar:owner][equals][owner] // this is used if the grenade is picked up and not created by the player
  8. WHEN [is projectile] DO [boolvar:thrown][equals][true]
  9. WHEN [boolvar:thrown] DO [power on]
  10. …WHEN [countdown timer][numvar:fuse time] DO [boolvar:detonate][equals][true] // sets the grenade to detonate after the fuse time has expired
  11. …WHEN [duration timer][numvar: fuse time] DO [numvar:updating fuse time][equals][timer seconds remaining]
  12. …/…WHEN [countdown timer][numvar:updating fuse time][loop][trigger on start] DO [hologram][red] // plays an effect on the grenade prior to detonation
  13. …/…/…WHEN [started to] DO [play sound:][sound:Sci fi Beep][at][center][overlapping] // plays a warning sound prior to detonation
  14. …WHEN [boolvar:detonate] DO [play fx][fx:sci Fi Grenade Explosion][scale][3.5][at position][center]
  15. …/…WHEN [objvar:owner][enemies][objects closer than][3.5] DO [damage][40][them][interrupt][cooldown][0.5]
  16. …/…WHEN DO [destroy]

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: