switchCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 43: Line 43:
[[Category:Scripting Commands OFP 1.46|SWITCHCAMERA]]
[[Category:Scripting Commands OFP 1.46|SWITCHCAMERA]]
[[Category:Scripting Commands ArmA|SWITCHCAMERA]]
[[Category:Scripting Commands ArmA|SWITCHCAMERA]]
[[Category:Command_Group:_Camera_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 07:50, 14 July 2008

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