Func vehicleclip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 14: Line 14:
*{{kv targetname}}
*{{kv targetname}}
*{{kv parentname}}
*{{kv parentname}}
*{{kv global}}
*{{KV Global}}


==Flags==
==Flags==

Revision as of 19:47, 19 January 2009

Template:Wrongtitle

Stub

This article or section is a stub. You can help by expanding it.

(Description should be clarified.)

Entity Description

Vehicle Clip. Stops vehicle entities (i.e. airboat, jeep, jalopy) Should be used with the tools/toolscontrolclip texture.

Availability

Template:In game Template:Game Template:In code

Keyvalues

Global:
Global Entity Name (globalname) <string>
Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.

Flags

None.

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.
  • Kill
Removes this entity from the world

Outputs