Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Switches the camera mode to the given unit / vehicle, where camera mode is any of the following:

  • "INTERNAL": 1st person.
  • "GUNNER": Optics / sights.
  • "EXTERNAL": 3rd person.
  • "GROUP": Group.
  • "VIEW": Exactly what the spectated unit sees (gun optics, binoculars, TI and NV, and so on) (V1.30+).

Syntax

Syntax:object switchCamera mode
Parameters:
  • object: Object - Specific unit / vehicle / camera.
  • mode: String - Camera mode.
Return Value:Nothing

Examples

Examples:
_loon1 switchCamera "External" 

Additional Information

See also: cameraOn, selectPlayer
Multiplayer:
Problems:

Notes




If you switchCamera to a group leader, you can control his group as if it were your own. Raedor, 1 Dec 2008, 04:04