Npc rollermine: 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.
No edit summary |
m (Robot: fixing template case.) |
||
Line 9: | Line 9: | ||
* '''startburied''' | * '''startburied''' | ||
: {{boolean}} | : {{boolean}} | ||
* '''{{ | * '''{{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}} | ||
==Inputs== | ==Inputs== | ||
* {{i basenpc}} | * {{i basenpc}} | ||
* {{i alyxinteractable}} | * {{i alyxinteractable}} | ||
* '''{{ | * '''{{EP1 add|TurnOn}}''' | ||
: Restore this rollermine to normal functionality. | : Restore this rollermine to normal functionality. | ||
* '''{{ | * '''{{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
Entity Description
Call it an artificially intelligent prop_physics.

Keyvalues
- Template:Kv basenpc
- startburied
- <boolean>
- uniformsightdist (in all games since
)
- (choices) Sight Distance
Literal Value Description 0 Ignore distant targets not in a vehicle (default). 1 Equal visibility for all targets.
Flags
- Template:Fl basenpc
- 65536 : Friendly
- 131072 : Use prop_physics collision rules (in all games since
)
Inputs
- Template:I basenpc
- AlyxInteractable:
- InteractivePowerDown (in all games since
)
- Shutdown this target.
- TurnOn (in all games since
)
- Restore this rollermine to normal functionality.
- TurnOff (in all games since
)
- 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