switchCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 46: Line 46:
[[Category:Scripting Commands ArmA|SWITCHCAMERA]]
[[Category:Scripting Commands ArmA|SWITCHCAMERA]]
[[Category:Command_Group:_Camera_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Camera_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:45, 3 June 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