setDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|S]]
[[Category:Scripting Commands ArmA|S]]


back to [[Scripting_Reference#S|COMREF]]


<h2 style="color:#000066">'''''object'' setDir ''heading'''''</h2>
<h2 style="color:#000066">'''''object'' setDir ''heading'''''</h2>

Revision as of 11:35, 23 April 2006


object setDir heading


Operand types:

object: Object

heading: Number

Type of returned value:

Nothing

Description:

Set object heading.

Accepted heading range is 0 to 360.


Example:

soldier1 setDir 45