This command closes a condition added with AddCondition.
This command should be called between calls to AddStage and CloseStage.
Additionally, this should only be called after a call to AddCondition.
SelectMission("m1"); ... AddStage(); SetStageTime(10); AddObjective("dummy"); CloseObjective(); // Fail the player if they take longer than 10 seconds on this stage AddCondition("timeout"); CloseCondition(); CloseStage(); CloseMission();
Game.SelectMission("m1") ... Game.AddStage() Game.SetStageTime(10) Game.AddObjective("dummy") Game.CloseObjective() -- Fail the player if they take longer than 10 seconds on this stage Game.AddCondition("timeout") Game.CloseCondition() Game.CloseStage() Game.CloseMission()
No additional notes.