This type of objective requires the player to destroy a certain amount of Wasp Cameras in the level to pass the stage.
Examples
AddObjective("completedwasps");
// Optional: Set the amount of wasps the player must have destroyed. Defaults to 1.
SetObjTotal(3);
CloseObjective();
Game.AddObjective("completedwasps")
-- Optional: Set the amount of wasps the player must have destroyed. Defaults to 1.
Game.SetObjTotal(3)
Game.CloseObjective()
Notes
No additional notes.
Version History
1.18
Added this objective type.