Npc turret floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Flags: ep1 add)
m (ep1 add)
Line 21: Line 21:
==Inputs==
==Inputs==
*{{i basenpc}}
*{{i basenpc}}
*{{i enabledisable}}
*'''Toggle'''
*'''Toggle'''
*'''Enable'''
: Toggle this entity.
*'''Disable'''
*{{i alyxinteractable}}


==Outputs==
==Outputs==
Line 37: Line 38:
* '''OnPhysGunDrop'''
* '''OnPhysGunDrop'''
: Released by physgun
: Released by physgun
*{{o alyxinteractable}}
==See Also==
==See Also==
* [[npc_turret_ceiling]]
* [[npc_turret_ceiling]]
* [[npc_turret_ground]]
* [[npc_turret_ground]]
[[Category:Entities]][[Category:NPCs]]
[[Category:Entities]][[Category:NPCs]]

Revision as of 23:32, 5 August 2006

Template:Wrongtitle

Entity Description

Floor Turret

A three-legged turret, equipped with a weaker variant of an AR2. It is unstable and falls over easily, but cannot be destroyed. It scans a 90 degree area, and will lock on to a target and fire at said target until it is out of range or can't be seen.

If placed in a squad, it might share enemies with its squad.

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Keyvalues

Flags

Inputs

Toggle this entity.
  • AlyxInteractable:
InteractivePowerDown  (in all games since Half-Life 2: Episode One)
Shutdown this target.

Outputs

Turret is becoming active and dangerous.
  • OnRetire
Turret is becoming inactive and harmless.
  • OnTipped
Turret has been tipped over and is inactive.
  • OnPhysGunPickup
Picked up with physgun
  • OnPhysGunDrop
Released by physgun
OnAlyxStartedInteraction
Fired when Alyx begins to interact with this entity.
OnAlyxFinishedInteraction
Fired when Alyx has finished interacting with this entity.

See Also