Available since Version 1.18.
Set the speed required to complete a a reachspeed objective.
Scope
This command should be called between calls to AddObjective and CloseObjective in a mission's initialisation script.
Syntax
MFK
Lua
SetObjSpeedKMH( target_speed );Game.SetObjSpeedKMH( target_speed ) - target_speed: The speed required for the objective.
Examples
MFK
Lua
AddObjective("reachspeed");
SetObjSpeedKMH(120);
CloseObjective();Game.AddObjective("reachspeed")
Game.SetObjSpeedKMH(120)
Game.CloseObjective()