Template:Archived Page History/Template:I BaseTrain
Jump to navigation
Jump to search
Parentname:
- SetParent <string>
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <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 <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.
- Template:I shadow
- SetSpeed <float>
- Set the speed of the train, as a ratio of max speed [0, 1]
- SetSpeedDir <float>
- Set the speed of the train, as a ratio of max speed. Negative values reverse the direction [-1, 1]
- SetSpeedReal <float>
- Set the speed of the train. Must be a positive value from 0 to max speed.
- Stop
- Stop the train.
- StartForward
- Start the train moving forward.
- StartBackward
- Start the train moving backward.
- Resume
- Resume the train moving in the current direction after it was stopped via the 'Stop' or 'Toggle' input.
- Reverse
- Reverse the direction of the train.
- Toggle
- Toggle the train between start and stop.