Set whether or not a camera objective can be skipped.
Context
This command should be called between calls to AddObjective and CloseObjective.
Syntax
SetObjCanSkip( can_skip );
Game.SetObjCanSkip( can_skip )
- can_skip : Whether or not the player can skip the objective.
- Defaults to 0 / false.
Examples
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()
Notes
No additional notes.
Version History
1.18.1
Made ASF commands that take a boolean as an argument accept true
or false
as well as 0 or 1 instead of accepting any integer and treating it as true if it's not 0.
1.18
Added this command.