Set the character whose suppression status (set via SuppressDriver in the Level's load script) will cause this character to not be in the vehicle.
Syntax
AddVehicleCharacterSuppressionCharacter( character, suppression_character );
Game.AddVehicleCharacterSuppressionCharacter( character, suppression_character )
- character: The name of the character who will get suppressed.
- suppression_character: The name of the character whose suppression will after this character.
- By default, the character themselves will already be a suppression character.
- none: Use "none" to prevent this character from getting suppressed altogether.
Examples
AddVehicleCharacter("askinner");
// Maybe add a real Agnes NPC to Skinner's car and suppress her when Skinner is suppressed, like normal.
AddVehicleCharacterSuppressionCharacter("askinner", "skinner");
Game.AddVehicleCharacter("askinner")
-- Maybe add a real Agnes NPC to Skinner's car and suppress her when Skinner is suppressed, like normal.
Game.AddVehicleCharacterSuppressionCharacter("askinner", "skinner")
Notes
This can only be used on characters added with AddVehicleCharacter.
History
1.19
Added this command.