Sets if a vehicle can be abducted by a UFO in a mission.
This persists until the command is called again, the status is reset with ResetStageVehicleAbductable or the mission ends.
Scope
This command should be called between calls to AddStage and CloseStage in a mission's initialisation script.
Syntax
SetStageVehicleAbductable( vehicle, abductable );Game.SetStageVehicleAbductable( vehicle, abductable )- vehicle: The vehicle you would like to reset the abductable flag on.
- When using
currentfor the player's current vehicle, the flag will only affect the car the player has at the time they reach the stage.
- When using
- abductable: Set whether or not the vehicle will be abductable.
- The default value of this depends on what is set in the Custom Car Support hack.
Examples
SetStageVehicleAbductable("skinn_v", true);SetStageVehicleAbductable("skinn_v", 1);Game.SetStageVehicleAbductable("skinn_v", true)Game.SetStageVehicleAbductable("skinn_v", 1)