grenade_helicopter

From Source Entities
Jump to navigation Jump to search
Episode Two's updated model.

Code classes:

grenade_helicopter is a point entity present in the Hl2.pngHalf-Life 2 series and Asw.pngAlien Swarm. These are the bombs dropped by npc_helicopters. They will explode upon contact with most non-static objects or a certain amount of time after hitting the ground.

Flags[edit | edit source]

  • 1: Megabomb (Not in FGD) - Gives bombs slightly different behavior (rolls less, quieter, explodes upon being hit/shot in HL2).
  • 65536: Is a dud (only available in Hl2.pngEpisodicP1.png) - Bomb will only explode after being launched by the gravity gun.

Inputs[edit | edit source]

ExplodeIn <float> (only available in Hl2.pngEpisodicP1.png)
Makes the bomb explode in the specified number of seconds.

Outputs[edit | edit source]

OnPhysGunOnlyPickup  (only available in Hl2.pngEpisodicP1.png)
Fires when the bomb is picked up by the gravity gun.