Warning: file_put_contents(/ff_c00b2627c8830037dfd3f48813035e01ea93ced6a6bf80e6.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setVectorDir - OFPEC Scripting Command Reference | OFPEC The Editing Center

object setVectorDir [x, y z]

Operand types

object: Object
[x, y z]: Array

Type of returned value

Description

Set object's normalized direction vector.
Up vector will remain unchanged.

Used In

ArmA

Example

loon1 setVectorDir [0,0,1];

Advertisement