switchCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. new arguments)
Line 8: Line 8:


| Switch camera to given vehicle / camera. Mode is one of:  
| Switch camera to given vehicle / camera. Mode is one of:  
* '''"INTERNAL"''' (1st person)
* '''"INTERNAL"''': 1st person
* '''"GUNNER"''' (optics / sights)
* '''"GUNNER"''': optics / sights
* '''"EXTERNAL"''' (3rd person)
* '''"EXTERNAL"''': 3rd person
* '''"GROUP"''' (group)
* '''"GROUP"''': group
* '''"VIEW"''': exactly what spectated unit sees (gun optics, binoculars, TI and NV, etc.) (''VBS2 1.30+ only'')
 


'''Note:''' If you switch to a unit in a vehicle, this command uses the correct turret.
'''Note:''' If you switch to a unit in a vehicle, this command uses the correct turret.

Revision as of 21:33, 12 August 2010

Hover & click on the images for description

Description

Description:
Switch camera to given vehicle / camera. Mode is one of:
  • "INTERNAL": 1st person
  • "GUNNER": optics / sights
  • "EXTERNAL": 3rd person
  • "GROUP": group
  • "VIEW": exactly what spectated unit sees (gun optics, binoculars, TI and NV, etc.) (VBS2 1.30+ only)
Note: If you switch to a unit in a vehicle, this command uses the correct turret.
Groups:
Uncategorised

Syntax

Syntax:
unitName switchCamera mode
Parameters:
unitName: Object
mode: String
Return Value:
Nothing

Examples

Example 1:
_loon1 switchCamera "External" 

Additional Information

See also:
selectPlayer

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

If you switchCamera to a group leader, you can control his group as if it were your own.
Posted on January 17th, 2010 - 01:04
Lou Montana
Apparently, in Arma 2 if you switchCamera to a group leader, you won't be able to control his group anymore.

Bottom Section