LML: Additional Script Functionality > MFK Commands > Stage Commands > SetStageVehicleCharacterScale

SetStageVehicleCharacterScale

Set the scale of the character in the stage vehicle.

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

This can only be used on characters added with AddStageVehicleCharacter and must be called in the same stage that added them.

Version History

1.19

Added this command.