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

vectorDirVisual objectName

Operand types

objectName: Object

Type of returned value

Description

Return object's normalized direction vector in world space ([x,y,z]) in render time scope.

  • A unit facing North would return [0,1,0]

  • A unit facing East would return [1,0,0]

  • A unit facing South would return [0,-1,0]

  • A unit facing West would return [-1,0,0]

Used In

Arma3

Example

_dirVector = vectorDirVisual _unit;

Advertisement