switchCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed notes)
mNo edit summary
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


|p2= mode: [[String]] |= Parameter 2
|p2= mode: [[String]] |= Parameter 2
Line 24: Line 24:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>loon1 switchCamera "External" </pre> |= Example 1
|x1= <pre>_loon1 switchCamera "External" </pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:47, 31 August 2007

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)
Groups:
Uncategorised

Syntax

Syntax:
Unit switchCamera "mode"
Parameters:
Unit: 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