setVectorDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+ Note about camera)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object]] '''setVectorDir''' [x, z, y] |= Syntax
| object '''setVectorDir''' [x, z, y] |= Syntax


|p1=  [[Object]] |= Parameter 1
|p1=  object: [[Object]] |= Parameter 1


|p2= [x, z, y]: [[Array]] [[Number]]s |= Parameter 2
|p2= [x, z, y]: [[Array]] |= Parameter 2


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

Revision as of 22:49, 25 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set object's direction vector. Up vector will remain unchanged.
Groups:
Uncategorised

Syntax

Syntax:
object setVectorDir [x, z, y]
Parameters:
object: Object
[x, z, y]: Array
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
vectorUpsetVectorUpvectorDirsetVectorDirAndUp

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 March 16, 2008 - 09:50
Str
Command can be also used to rotate camera in all three axis.

Bottom Section