CON Command: AddVehicleCharacter

Synopsis

This can be used to add additional characters to a car on top of the driver and the player character's.

Syntax

AddVehicleCharacter( <character>, [<joint>, <rotation>] );
  • character: The name of the character to add.
  • joint: The name of the joint to place the character on. Defaults to "pl".
  • rotation: The rotation of the character on the joint. Defaults to 180.
    • 180 is facing forwards in the car since characters are backwards in this game.

Examples

// Add Marge to the Passenger Seat
AddVehicleCharacter("marge");

// Add Bart to the Smoke Joint 
//	(you'd probably want to add custom joints to the car for other passengers)
AddVehicleCharacter("bart", "sl", 0);

Notes

Characters added using this command cannot be removed from the car via a mission script.

History

1.19

  • Added this command.

Revision #4
Created Tue, Oct 2, 2018 9:41 PM by Loren Goodwin
Updated Wed, Oct 3, 2018 2:22 AM by Loren Goodwin