Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Stages > Vehicle Characters > SetStageVehicleCharacterScale

SetStageVehicleCharacterScale

Set the scale of the character in the stage vehicle.

Context

This command should be called between calls to AddStage and CloseStage.

Additionally, this should only be called on characters previously added to the car with AddStageVehicleCharacter.

Syntax

SetStageVehicleCharacterScale( car, character, scale );

Game.SetStageVehicleCharacterScale( car, character, scale )

  • car: The name of the car the character is in.
  • character: The name of the character.
  • scale: Set the scale of the character.

Examples

AddStage();    
	AddStageVehicle("cVan","m1_cVan","NULL","cVan.con");
	AddStageVehicleCharacter("cVan", "bart", "sl", 0);	

	// Big Bort
	SetStageVehicleCharacterScale("cVan","bart", 3);

	AddObjective("dummy");
	CloseObjective();
CloseStage();

Game.AddStage() 
	Game.AddStageVehicle("cVan","m1_cVan","NULL","cVan.con")
	Game.AddStageVehicleCharacter("cVan", "bart", "sl", 0)

	-- Big Bort
	Game.SetStageVehicleCharacterScale("cVan","bart", 3)

	Game.AddObjective("dummy")
	Game.CloseObjective()
Game.CloseStage()

Notes

No additional notes.

Version History

1.19

Added this command.

Donut Team © 2024 · v4.0