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.
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
Entity Description
Call it an artificially intelligent prop_physics.

Keyvalues
- Template:Kv basenpc
- startburied
- <boolean>
- (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
- Template:Ep1 add
Inputs
- Template:I basenpc
- AlyxInteractable:
- InteractivePowerDown (in all games since
)
- 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