BIS fnc relativeDirTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Geometry
|gr1= Geometry


|Returns the relative direction from object 1 to object/position 2. Return value is always in between 0 and 360.
|Returns the relative direction from object 1 to object/position 2. Return value is always in between 0 and 360.

Revision as of 12:44, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Geometry

Syntax

Syntax:
Syntax needed
Parameters:
point1: Object - First point.
point2: Number or Object - Second point.
Return Value:
Return value needed

Examples

Example 1:
[[0,0,0], player] call BIS_fnc_relPos;

Additional Information

See also:
getPos getRelDir direction

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