camSetDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 45: Line 45:
[[Category:Command Group: Camera Control|CAMSETDIR]]
[[Category:Command Group: Camera Control|CAMSETDIR]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:44, 25 March 2013

Hover & click on the images for description

Description

Description:
Set the direction of the given camera.Needs the call of camCommit to be conducted.
Groups:
Uncategorised

Syntax

Syntax:
camera camSetDir direction
Parameters:
camera: Object - object of type "camera"
direction: Number - direction in degrees, range 0 to 360
Return Value:
Nothing

Examples

Example 1:
_cam camSetDir 90

Additional Information

See also:
directionsetDir

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

This command does NOT work on cameras (in ArmA 1.05 at least), use SetDir instead.

Bottom Section