Available since Version 1.18.
This type of objective requires the player collect coins to pass the stage.
Examples
MFK
Lua
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()