camSetDir: Difference between revisions
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}")  | 
				m (Arma 3 syntax, broken command)  | 
				||
| 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. |= Description  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| Line 18: | Line 18: | ||
|p1= camera: [[Object]] - object of type "camera" |= Parameter 1  | |p1= camera: [[Object]] - object of type "camera" |= Parameter 1  | ||
|p2= direction: [[Number]] - direction in degrees, range 0 to 360 |= Parameter 2  | |p2= direction: (Prior to Arma 3) [[Number]] - direction in degrees, range 0 to 360.  | ||
|p3= direction: (Since Arma 3) [[Array]] - direction of camera |= Parameter 2  | |||
| [[Nothing]] |= Return value  | | [[Nothing]] |= Return value  | ||
| Line 26: | Line 28: | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| [[direction]], [[setDir]] |= See also  | | [[direction]], [[setDir]], [[camSetTarget]] |= See also  | ||
}}  | }}  | ||
| Line 33: | Line 35: | ||
<dl class="command_description">  | <dl class="command_description">  | ||
<!-- Note Section BEGIN -->  | <!-- Note Section BEGIN -->  | ||
This command does NOT work on cameras (in ArmA 1.05 at least), use SetDir instead.  | <dd class="notedate">Posted on June 11, 2007  | ||
<dt class="note">'''[[User:SR|SR]]'''  | |||
<dd class="note"> This command does NOT work on cameras (in ArmA 1.05 at least), use SetDir instead.  | |||
<dd class="notedate">Posted on June 11, 2013  | |||
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''  | |||
<dd class="note"> This command (with new syntax) is also broken in the Arma 3 Alpha, see [http://feedback.arma3.com/view.php?id=7814 this feedback tracker report]  | |||
<!-- Note Section END -->  | <!-- Note Section END -->  | ||
</dl>  | </dl>  | ||
Revision as of 08:52, 11 June 2013
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: (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
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
 - Scripting Commands ArmA2
 - Scripting Commands Arma 3
 - Scripting Commands Take On Helicopters