Npc cscanner

From Valve Developer Community
Revision as of 06:22, 15 July 2005 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Combine Scanner

Co-Op modders should consider condensing ShouldInspect, OnlyInspectPlayers, and NeverInspectPlayers into one keyvalue, but still leave the old ones for backwards compatibility.

Keyvalues

  • spotlightlength
<integer>
  • spotlightwidth
<integer>
  • spotlightdisabled
<boolean>
  • ShouldInspect
<boolean>
  • OnlyInspectPlayers
<boolean>
  • NeverInspectPlayers
<boolean>

Flags

Inputs

  • DisableSpotlight
  • InspectTargetPhoto <string>
Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also.
  • InspectTargetSpotlight <string>
Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also.
  • InputSetFlightSpeed <integer>
Sets the flight speed of the scanner
  • InputShouldInspect <integer>
Set whether should inspect or not
  • SetFollowTarget <string>
Set target to follow until told otherwise
  • ClearFollowTarget
Stop following our target
  • SetDistanceOverride <float>
Override the distance the scanner will attempt to keep between inspection targets and itself
  • DeployMine
Drop landmine (if carrying one)
  • EquipMine
Equip with landmine

Outputs

  • OnPhotographPlayer
Fired any time the scanner takes a picture of the player.
  • OnPhotographNPC
Fired any time the scanner takes a picture of an NPC.