Ai goal police

From Valve Developer Community
Revision as of 21:17, 9 July 2005 by Ts2do (talk | contribs)
Jump to navigation Jump to search

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