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