MFK Command: SetObjCameraName / SetObjMulticontName

Synopsis

Set the name of the camera and multi controller to use for the objective.
These commands will always be used in conjunction with one another.

For use insideĀ camera objectives.

Syntax

SetObjCameraName( <camera_name> );
  • camera_name: The name of the camera to use for the objective.
SetObjMulticontName( <multicontroller_name> );
  • multicontroller_name: The name of the camera multi controller to use for the objective.

Examples

SelectMission("m1");
	...
    
    AddStage();    
        AddObjective("camera");
            // Set the camera and multi controller name.
            SetObjCameraName("mission0camShape");
            SetObjMulticontName("mission0cam");
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top