npc_metropolice
MetroPolice
KeyValues
- Model (model) <studio>
The model of this npc_metropolice. Keep in mind this overrides the 'Efficient' spawnflag which sets the model to police_cheaple.mdl.
The model of this npc_metropolice. Keep in mind this overrides the 'Efficient' spawnflag which sets the model to police_cheaple.mdl.
Inputs
- DisableManhackToss
<void>
Disables manhack toss
Disables manhack toss
- AdministerJustice
<void>
Orders this NPC to administer justice to the player as if they hit this NPC with a can or something. If this NPC cannot respond, it will look for another npc_metropolice to do it.
Orders this NPC to administer justice to the player as if they hit this NPC with a can or something. If this NPC cannot respond, it will look for another npc_metropolice to do it.
- SetWarnings
<integer>
Sets the number of warnings this NPC has given to the player.
Sets the number of warnings this NPC has given to the player.
- AddWarnings
<integer>
Adds to the number of warnings this NPC has given to the player.
Adds to the number of warnings this NPC has given to the player.
- DeployManhack
<void>
Deploys a manhack immediately if one is available.
Deploys a manhack immediately if one is available.
- AddManhacks
<integer>
Adds to the number of manhacks this NPC has available.
Adds to the number of manhacks this NPC has available.
- SetManhacks
<integer>
Sets the number of manhacks this NPC has available.
Sets the number of manhacks this NPC has available.
Outputs
- OnHitByPhysicsObject
<ehandle>
Fired when the player hits this NPC with any prop. Passes the thrower as the activator and the prop as the parameter.
Fired when the player hits this NPC with any prop. Passes the thrower as the activator and the prop as the parameter.
- OutManhack
<ehandle>
Fired the moment when this NPC spawns a manhack. Passes the manhack.
Fired the moment when this NPC spawns a manhack. Passes the manhack.
