Npc turret floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{basicnpc/img|name=npc_turret_floor|image=combine_turret_floor.jpg|caption=Floor Turret|desc=A three-legged turret, equipped with a weaker variant of an [[weapon_ar2|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.
{{wrongtitle|title=npc_turret_floor}}
==Entity Description==
[[Image:combine_turret_floor.jpg|frame|right|Floor Turret]]


If placed in a squad, it might share enemies with its squad.}}
A three-legged turret, equipped with a weaker variant of an [[weapon_ar2|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.
 
{{npcnote}}
 
==Keyvalues==
*{{kv basenpc}}
 
==Flags==
*{{fl basenpc}}
*32 : Autostart
*64 : Start Inactive
*128 : Fast Retire
 
==Inputs==
*{{i basenpc}}
*'''Toggle'''
*'''Enable'''
*'''Disable'''
 
==Outputs==
*{{o basenpc}}
* '''OnDeploy'''
: 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
==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 17:47, 16 April 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

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

See Also