npc_helicopter is an existing NPC entity available in (HL2) Half-Life 2 with all versions of Mapbase.

Helicopter



KeyValues

- World Model (model) <studio>
This model should have the right attachments.
- Health (health) <integer>
Overrides this helicopter's health. 0 = default npc_helicopter health (5600).
- Field of View (FieldOfView) <float>
The helicoter's viewcone. (1.0 = straight ahead, 0.0 = +/- 90 degrees, -1.0 = all directions)
- Aim around while idle (IdleAimAround) <choices>
If enabled, this helicopter will aim its gun in random locations while searching for enemies without changing the helicopter's overall facing direction. If there are any visually interesting info_hints nearby, the helicopter will aim at them. Intended for use with a spotlight.
- Disable Smoke Trails (DisableSmokeTrails) <choices>
Stops smoke trails from appearing while the helicopter is damaged.
- Disable Corpses (DisableCorpses) <choices>
Stops corpses from falling when the helicopter is damaged.
- Disable Explosions (DisableExplosions) <choices>
Stops explosions from occuring when the helicopter is damaged.

Flags

- [4194304] Aim at enemies even when gun is off : 4194304

Inputs

- SelfDestructNoFX <void>
Identical to SelfDestruct, except the helicopter won't throw out chunks while flying to a crash point. If there are no crash points, the helicopter will explode in place as normal. Intended for when the pilot is killed and there's not supposed to be anything wrong with the helicopter itself.

Outputs

- OutBomb <ehandle>
Fires for each bomb dropped.