Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Objectives > SetObjNoLetterbox

SetObjNoLetterbox

Set whether or not there will be letterboxing during a camera objective.

Context

This command should be called between calls to AddObjective and CloseObjective.

Syntax

SetObjNoLetterbox( no_letterbox );

Game.SetObjNoLetterbox( no_letterbox )

  • no_letterbox: Whether or not to have no letterbox. Defaults to 0.

Examples

AddObjective("camera");
	SetObjCameraName("mission0camShape");
	SetObjMulticontName("mission0cam");

	// Disable the letterbox during this camera.
	SetObjNoLetterbox(1);
CloseObjective();  

Game.AddObjective("camera")
	Game.SetObjCameraName("mission0camShape")
	Game.SetObjMulticontName("mission0cam")

	-- Disable the letterbox during this camera.
	Game.SetObjNoLetterbox(1)
Game.CloseObjective()

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2024 · v4.0