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 4: Line 4:
The NPC used to drive cranes.
The NPC used to drive cranes.
{{immobile npc}}
{{immobile npc}}
{{npcnote}}
{{NPCNote}}


== Keyvalues ==
== Keyvalues ==

Revision as of 20:03, 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

Vehicle (vehicle) <targetname>
Vehicle to drive.
  • releasepause
<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