Npc cranedriver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (minoro)
Line 1: Line 1:
{{wrongtitle|title=npc_cranedriver}}
{{wrongtitle|title=npc_cranedriver}}
[[Category:Vehicle Entities]]


==Entity Description==
== Entity description ==
NPC used to drive cranes.
The NPC used to drive cranes.
{{immobile npc}}
{{immobile npc}}
{{npcnote}}
{{npcnote}}


==Keyvalues==
== Keyvalues ==
* {{kv vehicledrivernpc}}
* {{kv vehicledrivernpc}}
* '''releasepause'''
* '''releasepause'''
: <float> Pause time before dropping a ForceDrop specified object.
: <float> Pause time before dropping a ForceDrop specified object.
==Flags==
 
== Flags ==
* {{fl vehicledrivernpc}}
* {{fl vehicledrivernpc}}
==Inputs==
 
== Inputs ==
* {{i vehicledrivernpc}}
* {{i vehicledrivernpc}}
* '''ForcePickup <target_destination>'''
* '''ForcePickup <target_destination>'''
Line 19: Line 20:
* '''ForceDrop <target_destination>'''
* '''ForceDrop <target_destination>'''
: Force the driver to drop the currently held object at the specified entity's location.
: Force the driver to drop the currently held object at the specified entity's location.
==Outputs==
 
== Outputs ==
* {{o basenpc}}
* {{o basenpc}}
* '''OnPickedUpObject'''
* '''OnPickedUpObject'''
Line 27: Line 29:
* '''OnPausingBeforeDrop'''
* '''OnPausingBeforeDrop'''
: Fired at the start of the pause before dropping the ForceDrop specified object.
: Fired at the start of the pause before dropping the ForceDrop specified object.
==See Also==
 
== See also ==
* [[info_target]]
* [[info_target]]


Line 33: Line 36:
{{otherlang:en:ru|Npc_cranedriver:ru}}
{{otherlang:en:ru|Npc_cranedriver:ru}}


[[Category:Entities]] [[Category:NPCs]]
[[Category:Entities]]
[[Category:NPCs]]
[[Category:Vehicle Entities]]

Revision as of 02:33, 17 April 2008

Template:Wrongtitle

Entity description

The NPC used to drive cranes.

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

<float> Pause time before dropping a ForceDrop specified object.

Flags

Inputs

Force the driver to pickup the specified entity (by targetname)
  • ForceDrop <target_destination>
Force the driver to drop the currently held object at the specified entity's location.

Outputs

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.

See also

Template:Otherlang:en Template:Otherlang:en:ru