Func vehicleclip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(not really a stub)
Line 1: Line 1:
{{DISPLAYTITLE:func_vehicleclip}}
{{stub}}
{{hl2 brush|func_vehicleclip}}
{{hl2 brush|func_vehicleclip}}


==Entity description==
==Entity description==
Stops vehicle [[entity|entities]] (i.e. airboat, jeep, jalopy){{clarify}}. Should be used with the <code>tools/toolscontrolclip</code> texture.
Acts as a functional [[clip]] or barrier affecting vehicle entities, such as the jeep or airboat. Should be used with the <code>tools/toolscontrolclip</code> texture.


{{in code|class=class_c_func_vehicle_clip.html CFuncVehicleClip|file=bmodels_8cpp-source.html bmodels.cpp}}
{{in code|class=class_c_func_vehicle_clip.html CFuncVehicleClip|file=bmodels_8cpp-source.html bmodels.cpp}}

Revision as of 18:51, 3 February 2014

Template:Hl2 brush

Entity description

Acts as a functional clip or barrier affecting vehicle entities, such as the jeep or airboat. Should be used with the tools/toolscontrolclip texture.

Template:In code

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
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.

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.

{{IO|Kill|Removes this entity from the world.}

Outputs