MFK Command: SetStageVehicleReset
Synopsis
Sets whether or not an AI car will automatically reset onto the road if it's off for too long in certain objective types (such as evade
).
Syntax
SetStageVehicleReset( <stage_vehicle_name>, <reset> );
- stage_vehicle_name: The name of the stage vehicle.
- reset: Set whether or not it should have this behaviour. The default depends on the type of behaviour the AI vehicle is using.
Examples
SelectMission("m1");
...
AddStage();
AddStageVehicle("cNerd","m3_nerd_start", "NULL", "cNerd.con","male2");
SetStageVehicleReset("cNerd", 0);
AddObjective("dummy");
...
CloseObjective();
CloseStage();
CloseMission();
Notes
No additional notes.
History
1.18
- Added this command.