Set the character to jump out of the vehicle is destroyed.
Syntax
SetVehicleCharacterJumpOut( character, [direction] );
Game.SetVehicleCharacterJumpOut( character, [direction] )
- character: The name of the character.
- direction: The direction in which they will jump. 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
AddVehicleCharacter("apu");
SetVehicleCharacterJumpOut("apu", 180);
Game.AddVehicleCharacter("apu")
Game.SetVehicleCharacterJumpOut("apu", 180)
Notes
This can only be used on characters added with AddVehicleCharacter.
History
1.19
Added this command.