MFK Command: SetStageVehicleAllowSeatSlide

Synopsis

Sets whether or not the stage vehicle allows seat slide.

Syntax

SetStageVehicleAllowSeatSlide( <car>, <allow_seat_slide> );
  • car: The name of the car.
    • current: The player's current vehicle.
  • allow_seat_slide: Whether or not to allow seat slide.

Examples

SelectMission("m1");
	...
    
    AddStage();
		AddStageVehicle("cVan","m1_cVan","NULL","cVan.con");
		AddStageVehicleCharacter("cVan", "lisa");

		// Lisa is now in the passenger seat so we need to block it.
		SetStageVehicleAllowSeatSlide("cVan", 0);

		AddObjective("dummy");

		CloseObjective();
    CloseStage();
CloseMission();

Notes

This can only be used on characters added with AddStageVehicleCharacter.

History

1.19

  • Added this command.
Back to top