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

DisableTrigger

Disable a locator's trigger(s) for a stage. Repeat for each locator's triggers you'd like to disable.

Context

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

Syntax

DisableTrigger( locator_name );

Game.DisableTrigger( locator_name )

  • locator_name: The name of a locator whose triggers will be disabled.

Examples

AddStage();
	DisableTrigger("z2phone1");

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

Game.AddStage()
	Game.DisableTrigger("z2phone1")

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2024 · v4.0