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.
mNo edit summary |
(Cleanup) |
||
Line 9: | Line 9: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV VehicleDriverNPC}} | |||
{{KV|Pause time before dropping a ForceDrop specified object|float|Pause time before dropping a ForceDrop specified object.}} | |||
== Flags == | == Flags == | ||
{{Fl VehicleDriverNPC}} | |||
== Inputs == | == Inputs == | ||
{{I VehicleDriverNPC}} | |||
{{IO|ForcePickup|Force the driver to pickup the specified entity (by targetname).|param=target_destination}} | |||
{{IO|ForceDrop|Force the driver to drop the currently held object at the specified entity's location. | |||
|param=target_destination}} | |||
== Outputs == | == Outputs == | ||
{{O BaseNPC}} | |||
{{IO|OnPickedUpObject|Fired when the ForcePickup specified object has been picked up.}} | |||
{{IO|OnDroppedObject|Fired when the ForceDrop specified object has been dropped.}} | |||
{{IO|OnPausingBeforeDrop|Fired at the start of the pause before dropping the ForceDrop specified object.}} | |||
[[Category:Vehicle Entities]] | [[Category:Vehicle Entities]] | ||
[[Category:Half-Life 2 NPCs]] | [[Category:Half-Life 2 NPCs]] |
Revision as of 15:03, 4 February 2012
Template:Hl2 point 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.