CON Command: SetVehicleCharacterJumpOut

Synopsis

Set the character to jump out of the vehicle is destroyed.

Syntax

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);

Notes

This can only be used on characters added with AddVehicleCharacter.

History

1.19

  • Added this command.
Back to top