Npc rollermine: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Robot: fixing template case.)
Line 9: Line 9:
* '''startburied'''
* '''startburied'''
: {{boolean}}
: {{boolean}}
* '''{{ep1 add|uniformsightdist}}'''
* '''{{EP1 add|uniformsightdist}}'''
: (choices) Sight Distance
: (choices) Sight Distance
:{|
:{|
Line 22: Line 22:
* {{fl basenpc}}
* {{fl basenpc}}
* 65536 : Friendly
* 65536 : Friendly
* {{ep1 add|131072 : Use prop_physics collision rules}}
* {{EP1 add|131072 : Use prop_physics collision rules}}
==Inputs==
==Inputs==
* {{i basenpc}}
* {{i basenpc}}
* {{i alyxinteractable}}
* {{i alyxinteractable}}
* '''{{ep1 add|TurnOn}}'''
* '''{{EP1 add|TurnOn}}'''
: Restore this rollermine to normal functionality.
: Restore this rollermine to normal functionality.
* '''{{ep1 add|TurnOff}}'''
* '''{{EP1 add|TurnOff}}'''
: Make this rollermine completely inert. Does not run AI and NPCs will ignore it.
: Make this rollermine completely inert. Does not run AI and NPCs will ignore it.



Revision as of 19:19, 19 January 2009

Template:Wrongtitle

Entity Description

Rollermine

Call it an artificially intelligent prop_physics.

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Keyvalues

<boolean>
  • uniformsightdist (in all games since Half-Life 2: Episode One)
(choices) Sight Distance
Literal Value Description
0 Ignore distant targets not in a vehicle (default).
1 Equal visibility for all targets.

Flags

Inputs

InteractivePowerDown  (in all games since Half-Life 2: Episode One)
Shutdown this target.
  • TurnOn (in all games since Half-Life 2: Episode One)
Restore this rollermine to normal functionality.
  • TurnOff (in all games since Half-Life 2: Episode One)
Make this rollermine completely inert. Does not run AI and NPCs will ignore it.

Outputs

OnAlyxStartedInteraction
Fired when Alyx begins to interact with this entity.
OnAlyxFinishedInteraction
Fired when Alyx has finished interacting with this entity.
  • OnPhysGunPickup
Picked up with physgun. Template:Plact
  • OnPhysGunDrop
Released by physgun. Template:Plact

Template:Otherlang:en Template:Otherlang:en:ru