MFK Command: SetObjMessageIndex

Synopsis

Set a message index for the objective.

For use inside insidetrigger and outsidetrigger objectives.

Syntax

SetObjMessageIndex( <message_index> );
  • message_index: The text index (like SetStageMessageIndex) to use for the objective.

Examples

SelectMission("m1");
	...
    
    AddStage();    
    	AddObjective("insidetrigger");
            SetObjTrigger("z2phone1");

            // Show message 3.
            SetObjMessageIndex(3);
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top