Games > The Simpsons Hit & Run > Objective Types > Known Types > losetail

losetail

This type of objective requires the player to escape an AI car that is pursuing them.

Examples

AddObjective("losetail");
	// Required: Specify the vehicle that the player needs to escape.
	SetObjTargetVehicle("skinn_v");

	// Required: Specify the distance that the player needs to get away from the target vehicle.
	SetObjDistance(150);
CloseObjective();

Game.AddObjective("losetail")
	-- Required: Specify the vehicle that the player needs to escape.
	Game.SetObjTargetVehicle("skinn_v")

	-- Required: Specify the distance that the player needs to get away from the target vehicle.
	Game.SetObjDistance(150)
Game.CloseObjective()

Notes

No additional notes.

Donut Team © 2024 · v4.0