Ai goal police: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 4: Line 4:
'''Entity Name:''' AI Goal Police
'''Entity Name:''' AI Goal Police


==Entity Values==
==Keyvalues==
===Keys===


*{{kv targetname}}
*{{kv targetname}}
Line 25: Line 24:
* Do not leave post
* Do not leave post


===Inputs===
==Inputs==


* {{i targetname}}
* {{i targetname}}
Line 37: Line 36:
: Stop the active policing NPC from trying to knock out its target
: Stop the active policing NPC from trying to knock out its target


===Outputs===
==Outputs==


*{{o targetname}}
*{{o targetname}}

Revision as of 21:04, 9 July 2005

Template:Wrongtitle

Entity Description

Entity Name: AI Goal Police

Keyvalues

  • Radius (policeradius)
<float> Radius to police
  • Target (policetarget)
<string> Target to police

Flags

  • Knock-out target past crossing plane
  • Do not leave post

Inputs

  • EnableKnockOut
Tells the goal to make the active policing NPC knock out its target
  • DisableKnockOut
Stop the active policing NPC from trying to knock out its target

Outputs

  • OnFirstWarning
Fires the first time a policing cop warns a target
  • OnSecondWarning
Fires the second time a policing cop warns a target
  • OnLastWarning
Fires when a policing cop warns a target for the last time
  • OnSupressingTarget
Fires when a policing cop starts to suppress (ie. beat) a target
  • OnKnockOut
Fires when a target has been knocked out