Set the character to jump out of the vehicle when it's destroyed.
Scope
This command should be called between calls to AddStage and CloseStage in a mission's initialisation script.
Additionally, this should only be called on characters previously added to the car with AddStageVehicleCharacter.
Syntax
SetStageVehicleCharacterJumpOut( car, character, [direction] );Game.SetStageVehicleCharacterJumpOut( car, character, [direction] )- car: The name of the car.
- current: The player's current car.
- character: The name of the character.
- direction: The direction that the character will jump out of the vehicle. This is an angle from 0 to 360 degrees.
- The default value of this depends on the character's position relative to the origin of the car.
Examples
AddStage();
AddStageVehicle("cVan", "m1_cVan", "NULL");
AddStageVehicleCharacter("cVan", "lisa");
SetStageVehicleCharacterJumpOut("cVan", "lisa", 270);
AddObjective("dummy");
CloseObjective();
CloseStage();Game.AddStage()
Game.AddStageVehicle("cVan", "m1_cVan", "NULL")
Game.AddStageVehicleCharacter("cVan", "lisa")
Game.SetStageVehicleCharacterJumpOut("cVan", "lisa", 270)
Game.AddObjective("dummy")
Game.CloseObjective()
Game.CloseStage()