Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > Objective Types > completedwasps

completedwasps

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.

Donut Team © 2023 · v4.0