npc_metropolice is an existing NPC entity available in (HL2) Half-Life 2 with all versions of Mapbase.

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.

Inputs

- DisableManhackToss <void>
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.
- SetWarnings <integer>
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.
- DeployManhack <void>
Deploys a manhack immediately if one is available.
- AddManhacks <integer>
Adds to the number of manhacks this NPC has available.
- SetManhacks <integer>
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.
- OutManhack <ehandle>
Fired the moment when this NPC spawns a manhack. Passes the manhack.