Npc cranedriver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 15: Line 15:


== Inputs ==
== Inputs ==
* {{i vehicledrivernpc}}
* {{I VehicleDriverNPC}}
* '''ForcePickup <target_destination>'''
* '''ForcePickup <target_destination>'''
: Force the driver to pickup the specified entity (by targetname)
: Force the driver to pickup the specified entity (by targetname)

Revision as of 19:40, 19 January 2009

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

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 <targetnameRedirectInput/string>
Tell the driver to go to a specific path corner and continue from there.
  • ForcePickup <target_destination>
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