Npc clawscanner: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
m (Needs picture - I don't have ep1 yet, so I can't do it myself.) |
Schrodinger (talk | contribs) |
||
Line 2: | Line 2: | ||
==Entity Description== | ==Entity Description== | ||
[[Image: | [[Image:Combine scanner.jpg|frame|right|{{todo|Claw Scanner}}]] | ||
A Claw/Shield scanner. | A Claw/Shield scanner. | ||
Revision as of 14:26, 26 June 2007
Entity Description
A Claw/Shield scanner.

Dedicated Console Variables
- sk_scanner_health
- <integer> A scanner's spawn health
- sk_scanner_dmg_dive
- <integer>
Keyvalues
- spotlightlength
- <integer>
- spotlightwidth
- <integer>
- spotlightdisabled
- <boolean>
- ShouldInspect
- <boolean>
- OnlyInspectPlayers
- <boolean>
- NeverInspectPlayers
- <boolean>
Flags
- Template:Fl basenpc
- 65536 : No Dynamic Light
- 131072 : Strider Scout Scanner
- This scanner moves faster and follows an npc_strider
Inputs
- DisableSpotlight
- InspectTargetPhoto <target_name_or_class>
- Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also.
- InspectTargetSpotlight <target_name_or_class>
- Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also.
- SetFlightSpeed <integer>
- Sets the flight speed of the scanner
- InputShouldInspect <boolean>
- Set whether should inspect or not
- SetFollowTarget <target_name_or_class>
- 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. Template:Plact
- OnPhotographNPC
- Fired any time the scanner takes a picture of an NPC. (!activator is the NPC)