camSetDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set the direction of the given camera. Needs the call of [[camCommit]] to be conducted. |= Description
| Set the direction of the given camera. Needs the call of [[camCommit]] to be conducted.
{{warning | Broken}} |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 56: Line 57:
[[Category:Scripting Commands Arma 3|{{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}}}}]]
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 18:21, 29 May 2015

Hover & click on the images for description

Description

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

Syntax

Syntax:
camera camSetDir direction
Parameters:
camera: Object - object of type "camera"
direction: (Prior to Arma 3) Number - direction in degrees, range 0 to 360.
direction: (Since Arma 3) Array - direction of camera
Return Value:
Nothing

Examples

Example 1:
_cam camSetDir 90

Additional Information

See also:
directionsetDircamSetTarget

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

Posted on June 11, 2007
SR
This command does NOT work on cameras (in ArmA 1.05 at least), use SetDir instead.
Posted on June 11, 2013
Ceeeb
This command (with new syntax) is also broken in the Arma 3 Alpha, see this feedback tracker report

Bottom Section