MFK Command: SetCondSpeedRangeKMH

Synopsis

Sets a speed range for the condition.

For use inside a maintainspeedcondition.

Syntax

SetCondSpeedRangeKMH( <lower_limit>, <upper_limit> );
  • lower_limit: The lowest speed the player is allowed to go.
  • upper_limit: The highest speed the player is allowed to go.

Examples

SelectMission("m1");
	...
    
    AddStage();    
    	...
        
        AddCondition("maintainspeed");
        	SetCondSpeedRangeKMH(90, 150);
        CloseCondition();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top