camSetDir: Difference between revisions
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: [[ | |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
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Camera Control