Set whether or not a camera objective can be skipped.
SetObjCanSkip( can_skip );
Game.SetObjCanSkip( can_skip )
- can_skip : Whether or not the player can skip the objective.
- Defaults to 0 / false.
AddObjective("camera"); SetObjCameraName("mission0camShape"); SetObjMulticontName("mission0cam"); // Let the player skip the camera animation. SetObjCanSkip(1); CloseObjective();
Game.AddObjective("camera") Game.SetObjCameraName("mission0camShape") Game.SetObjMulticontName("mission0cam") -- Let the player skip the camera animation. Game.SetObjCanSkip(1) Game.CloseObjective()
No additional notes.
Made ASF commands that take a boolean as an argument accept
false as well as 0 or 1 instead of accepting any integer and treating it as true if it's not 0.
Added this command.