LML: Additional Script Functionality > MFK Commands > Condition Commands > SetCondTrigger

SetCondTrigger

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

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.