Npc cranedriver: 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.
Noruzenchi86 (talk | contribs) ({{Entity}} template) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang| | {{lang|title=npc_cranedriver}} | ||
{{Entity|npc_cranedriver|type=e0|series=Half-Life 2}} | {{Entity|npc_cranedriver|type=e0|series=Half-Life 2}} | ||
[[Image:npc_vehicledriver.png|left|link=]] | [[Image:npc_vehicledriver.png|left|link=]] |
Revision as of 10:11, 12 February 2023

The NPC used to drive cranes.

Keyvalues
- Vehicle (vehicle) <targetname>
- Vehicle to drive.
- Pause time before dropping a ForceDrop specified object ([todo internal name (i)]) <float>
- Pause time before dropping a ForceDrop specified object.
Flags
- Start Inactive : [65536]
Inputs
- StartFiring
- Tell the driver to attack nearby enemies with the vehicle's weaponry (if any).
- StopFiring
- Tell the driver to stop attacking nearby enemies with the vehicle's weaponry.
- GotoPathCorner <targetname >
- Tell the driver to go to a specific path corner and continue from there.
- ForcePickup <targetname >
- Force the driver to pickup the specified entity (by targetname).
- ForceDrop <targetname >
- Force the driver to drop the currently held object at the specified entity's location.
Outputs
|
- OnPickedUpObject
- Fired when the ForcePickup specified object has been picked up.
- OnDroppedObject
- Fired when the ForceDrop specified object has been dropped.
- OnPausingBeforeDrop
- Fired at the start of the pause before dropping the ForceDrop specified object.