MoveX( <xvalue>, <time>, <acceleration time>, <deceleration time> )


Module: Motion

Summary:

Move this entity to the given world x value



Call this on:

script_model, script_origin or script_brushmodel



Example:

 train MoveX( -4400, 60, 15, 20 );



Required Args:

  • 1 : <point> The x value to move the entity to, as a floating point number
  • 2 : <time> The time to move the entity in seconds


Optional Args

  • 1 : <acceleration time> The time spent accelerating in seconds
  • 2 : <deceleration time> The time spent decelerating in seconds