switchCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(note about turrets)
mNo edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean#Unit|Unit]] '''switchCamera''' "mode" |= Syntax
| unitName '''switchCamera''' mode |= Syntax


|p1= [[Boolean#Unit|Unit]]: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |= Parameter 1


|p2= mode: [[String]] |= Parameter 2
|p2= mode: [[String]] |= Parameter 2

Revision as of 00:33, 26 January 2009

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)
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:
See also needed

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.

Bottom Section