MFK Command: SetObjCanSkip

Synopsis

Set whether or not the objective can be skipped.

For use inside camera objectives.

Syntax

SetObjCanSkip( <can_skip> );
  • can_skip: Whether or not the player can skip the objective. Defaults to 0.

Examples

SelectMission("m1");
	...
    
    AddStage();    
        AddObjective("camera");
            SetObjCameraName("mission0camShape");
            SetObjMulticontName("mission0cam");

            // Let the player skip the camera animation.
            SetObjCanSkip(1);
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.

Revision #1
Created Tue, Oct 2, 2018 11:06 PM by Loren Goodwin
Updated Thu, Mar 7, 2019 11:14 PM by Loren Goodwin