Set a speed range for maintainspeed conditions.
Context
This command should be called between calls to AddCondition and CloseCondition.
Syntax
SetCondSpeedRangeKMH( lower_limit, upper_limit );
Game.SetCondSpeedRangeKMH( lower_limit, upper_limit )
- lower_limit: The lowest speed the player is allowed to go.
- You can use
0
to have no lower limit.
- You can use
- upper_limit: The highest speed the player is allowed to go.
Examples
AddCondition("maintainspeed");
SetCondSpeedRangeKMH(90, 150);
CloseCondition();
Game.AddCondition("maintainspeed")
Game.SetCondSpeedRangeKMH(90, 150)
Game.CloseCondition()
Notes
No additional notes.
Version History
1.18
Added this command.