Available since Version 1.18.
Set a message index for the insidetrigger / outsidetrigger conditions.
Scope
This command should be called between calls to AddCondition and CloseCondition in a mission's initialisation script.
Syntax
MFK
Lua
SetCondMessageIndex( message_index );Game.SetCondMessageIndex( message_index )- message_index: The condition message index (just like the SetStageMessageIndex command) to use for the condition.
Examples
MFK
Lua
AddCondition("insidetrigger");
SetCondTrigger("z2phone1");
// Show MISSION_OBJECTIVE_03 if the player enters the trigger.
SetCondMessageIndex(3);
CloseCondition();Game.AddCondition("insidetrigger")
Game.SetCondTrigger("z2phone1")
-- Show MISSION_OBJECTIVE_03 if the player enters the trigger.
Game.SetCondMessageIndex(3)
Game.CloseCondition()