0 Members and 1 Guest are viewing this topic.
speed objOperand types: obj: ObjectType of returned value: NumberDescription: Object speed (in km/h)Example: speed player
But you can use it to limit speed. Forcing an AI driver to apply the brakes if he goes too fast. He drives along as though he cant work a clutch, but it works.
format formatOperand types: format: ArrayType of returned value: StringDescription: First argument of array is format string. Format string may contain references to following arguments in form %1, %2, etc. Each %x is replaced by corresponding argument. %x may appear in the format string in any order.Example: format ["%1 - %2 - %1", 1, "text"] , result is "1 - text - 1"
Well, is it possible with that command to force a vehicle to stay below 45 km/ph.[RT]SuperTron
_Car = _this Select 0#SpeedLoop@(Speed _Car > 45)_Car SetSpeedMode "NORMAL"@(Speed _Car < 35)_Car SetSpeedMode "FULL"GoTo "SpeedLoop"