Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Stages > Vehicles > SetStageVehicleAbductable

SetStageVehicleAbductable

This command sets the abductable status of a vehicle.

This persists until the command is called again, the status is reset with ResetStageVehicleAbductable or the mission ends.

Context

This command should be called between calls to AddStage and CloseStage.

Syntax

SetStageVehicleAbductable( vehicle, abductable );

Game.SetStageVehicleAbductable( vehicle, abductable )

  • vehicle: The vehicle you would like to reset the abductable flag on.
    • When using current for the player's current vehicle, the flag will only affect the car the player has at the time they reach the stage.
  • abductable: Set whether or not the vehicle will be abductable.

Examples

SetStageVehicleAbductable("skinn_v", true);
SetStageVehicleAbductable("skinn_v", 1);

Game.SetStageVehicleAbductable("skinn_v", true)
Game.SetStageVehicleAbductable("skinn_v", 1)

Notes

No additional notes.

Version History

1.25

Added this command.

Donut Team © 2024 · v4.0