Канал в IRC
RusNet: #cmt
Func_traincontrols

Func_traincontrols

Table of contents
1 Entity Description
2 Keyvalues
3 Inputs

Entity Description

Entity Description

When used by the player, this entity overrides the player's controls to let them drive a train.

Availability

This brush-based entity is available in: all Source games


Keyvalues

<target_source> The name that other entities refer to this entity by.
<target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
<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.
<target_destination> The target train to control when the player uses these controls.

Inputs

Changes the entity's parent in the movement hierarchy.
Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
Removes this entity from the the movement hierarchy, leaving it free to move independently.

К оглавлению справочника

© Valve Developer Community
CMT (CS Mapping Tutorials) - © 2006-2011. Created by VM
[ Script Execution time: 0.0061 ]