BIS_fnc_relativeDirTo
Jump to navigation
Jump to search
Description
- Description:
- Returns the relative direction from object 1 to object/position 2. Return value is always in between 0 and 360.
- Execution:
- call
- Groups:
- Geometry
Syntax
- Syntax:
- [from, to] call BIS_fnc_relativeDirTo
- Parameters:
- from: Object
- to: Object or Array format Position
- Return Value:
- Number
Examples
- Example 1:
[[0,0,0], player] call BIS_fnc_relativeDirTo;
Additional Information
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