This type of objective requires the player collect coins to pass the stage.
Examples
AddObjective("collectcoins");
// Optional: Set the amount of coins the player has to collect. Defaults to 1.
SetObjTotal(12);
CloseObjective();
Game.AddObjective("collectcoins")
-- Optional: Set the amount of coins the player has to collect. Defaults to 1.
Game.SetObjTotal(12)
Game.CloseObjective()
Notes
No additional notes.
Version History
1.18
Added this objective type.