BIS fnc relativeDirTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 238097 by R3vo (talk))
Tag: Undo
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 20: Line 20:
|x1= <code><nowiki>[</nowiki>[0,0,0], [[player]]] [[call]] '''BIS_fnc_relPos''';</code>
|x1= <code><nowiki>[</nowiki>[0,0,0], [[player]]] [[call]] '''BIS_fnc_relPos''';</code>


|[[getPos]] [[getRelDir]] [[direction]]
|seealso= [[getPos]] [[getRelDir]] [[direction]]
}}
}}



Revision as of 00:36, 17 February 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