npc_rocket_turret
Jump to navigation
Jump to search
Code classes:
CNPC_RocketTurret
CAI_BaseNPC
(NPCs)CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
npc_rocket_turret
is a point entity present in both Portal games. A rocket turret.
To do: Very buggy in . Give instructions on fixing.
Flags[edit | edit source]
- 1: Start Disabled
Inputs[edit | edit source]
- SetTarget
<target_destination>
- Tells the turret to attack an entity.
- Destroy
- Makes the turret play "destruction" effects and stop moving. The turret can be disabled and re-enabled.
- Enable
- Makes the entity active.
- Disable
- Makes the entity inactive.
- Toggle
- If on, turn off. If off, turn on.
Outputs[edit | edit source]
- OnLostTarget
- Fires when the turret's target hides.
- OnFoundTarget
- Fires when the turret finds an unobstructed target.