Template:Archived Page History/Template:I BaseTrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(bot-assisted)
 
(No difference)

Revision as of 18:54, 19 January 2009

Template:I targetname

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.