Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > CON Commands > SetVehicleCharacterVisible

SetVehicleCharacterVisible

Set whether or not the character is visible.

This can be used to force a character to be visible in a car where the driver and player character are not.

Syntax

SetVehicleCharacterVisible( character );

Game.SetVehicleCharacterVisible( character )

  • character: The name of the character.

Examples

AddVehicleCharacter("apu");
SetVehicleCharacterVisible("apu");

Game.AddVehicleCharacter("apu")
Game.SetVehicleCharacterVisible("apu")

Notes

This can only be used on characters added with AddVehicleCharacter.

History

1.19

Added this command.

Donut Team © 2024 · v4.0