Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Stages > Checkpoints > SetCheckpointResetPlayerInCar

SetCheckpointResetPlayerInCar

This command makes the player reset in their car when resuming a stage from a checkpoint.

Context

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

Additionally, this should be called alongside CHECKPOINT_HERE.

Syntax

SetCheckpointResetPlayerInCar( locator );

Game.SetCheckpointResetPlayerInCar( locator )

Examples

AddStage();
	CHECKPOINT_HERE();
	SetCheckpointResetPlayerInCar("m1_carstart");

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

Game.AddStage()
	Game.CHECKPOINT_HERE()
	Game.SetCheckpointResetPlayerInCar("m1_carstart")

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

Notes

No additional notes.

Version History

1.25

Added this command.

Donut Team © 2024 · v4.0