Available since Version 1.18.
Set the name of the camera and multi controller to use for a camera.
Scope
This command should be called between calls to AddObjective and CloseObjective in a mission's initialisation script.
Syntax
MFK
Lua
SetObjCameraName( camera_name );
SetObjMulticontName( multicontroller_name );Game.SetObjCameraName( camera_name )
Game.SetObjMulticontName( multicontroller_name )- camera_name: The name of the camera to use for the objective.
- multicontroller_name: The name of the camera multi controller to use for the objective.
Examples
MFK
Lua
AddObjective("camera");
// Set the camera and multi controller name.
SetObjCameraName("mission0camShape");
SetObjMulticontName("mission0cam");
CloseObjective();Game.AddObjective("camera")
-- Set the camera and multi controller name.
Game.SetObjCameraName("mission0camShape")
Game.SetObjMulticontName("mission0cam")
Game.CloseObjective()