Npc rollermine: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (ep1 add)
mNo edit summary
Line 25: Line 25:
==Inputs==
==Inputs==
* {{i basenpc}}
* {{i basenpc}}
* {{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.


==Outputs==
==Outputs==
* {{o basenpc}}
* {{o basenpc}}
* {{o alyxinteractable}}
* '''OnPhysGunPickup'''
* '''OnPhysGunPickup'''
: Picked up with physgun. {{plact}}
: Picked up with physgun. {{plact}}

Revision as of 23:38, 5 August 2006

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>
(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.
Restore this rollermine to normal functionality.
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