Npc bullseye: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 2: Line 2:
==Entity Description==
==Entity Description==
'''Entity Name:''' npc_bullseye
'''Entity Name:''' npc_bullseye
Bullseyes act as targets for other NPC's to attack and to trigger events


{{npcnote}}
{{npcnote}}

Revision as of 17:23, 11 July 2005

Template:Wrongtitle

Entity Description

Entity Name: npc_bullseye

Bullseyes act as targets for other NPC's to attack and to trigger events

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

  • health
<Integer> Unlike other NPCs level designers are allowed to set the health on bullseyes

Flags

  • 65536 : Not Solid
  • 131072 : Take No Damage
  • 262144 : Enemy Damage Only
  • 524288 : Bleed
  • 1048576 : Perfect Accuracy

Inputs

Outputs

  • OnTargeted
Fires when targeted
  • OnReleased
Fires when no longer targeted