camSetDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 18: Line 18:
|p1= camera: [[Object]] - object of type "camera" |= Parameter 1
|p1= camera: [[Object]] - object of type "camera" |= Parameter 1


|p2= direction: [[Integer]] - direction in degrees, range 0 to 360 |= Parameter 2
|p2= direction: [[Number]] - direction in degrees, range 0 to 360 |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 15:41, 21 January 2009

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