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

SetCondTrigger

Specify the locator whose triggers will be used for the insidetrigger/outsidetrigger conditions.

Context

This command should be called between calls to AddCondition and CloseCondition.

Syntax

SetCondTrigger( locator_name );

Game.SetCondTrigger( locator_name )

  • locator_name: The name of the locator whose triggers will be used for the condition.

Examples

AddCondition("insidetrigger");
	SetCondTrigger("z2phone1");
CloseCondition();

Game.AddCondition("insidetrigger")
	Game.SetCondTrigger("z2phone1")
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2023 · v4.0