MFK Command: SetStageAllowMissionCancel

Synopsis

Set whether or not the player is allowed to restart or cancel the mission during the stage.

Syntax

SetStageAllowMissionCancel( <allow> );
  • allow: Whether or not to allow the player to restart or canel the mission. Defaults to 1.

Examples

SelectMission("m1");
	...
    
    AddStage();
    	SetStageAllowMissionCancel(0);
    	
    	AddObjective("dummy");
        	...
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18.1

  
  • Added this command.
Back to top