setDir: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets object heading. Angles are measured in degrees clockwise from north. The accepted heading range is from 0 to 360 Negative angles represent a counter-clockwise angle and the angle can be of any size. See also: [[getDir]] | |||
Examples: soldier1 setDir 45 | |||
will set soldier1 to face North East | |||
soldier1 setDir -675 | |||
will also set soldier1 to face North East |= Description | |||
____________________________________________________________________________________________ | |||
''' | | object '''setDir''' heading |= Syntax | ||
|p1= object: [[Object]] |= Parameter 1 | |||
|p2= heading: [[Number]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETDIR]] | |||
[[Category:Scripting Commands OFP 1.96|SETDIR]] | |||
[[Category:Scripting Commands OFP 1.46|SETDIR]] | |||
[[Category:Scripting Commands ArmA|SETDIR]] | |||
Revision as of 23:10, 1 August 2006
Description
- Description:
- Sets object heading. Angles are measured in degrees clockwise from north. The accepted heading range is from 0 to 360 Negative angles represent a counter-clockwise angle and the angle can be of any size. See also: getDir Examples: soldier1 setDir 45 will set soldier1 to face North East soldier1 setDir -675 will also set soldier1 to face North East
- Groups:
- Uncategorised
Syntax
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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