BIS fnc relativeDirTo: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Geometry(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
||
Line 10: | Line 10: | ||
|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. | ||
{{Feature arma3|In Arma 3 use [[getRelDir]] instead.}}|DESCRIPTION= | {{Feature|arma3|In Arma 3 use [[getRelDir]] instead.}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:50, 27 December 2020
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:
- [point1, point2] call BIS_fnc_relativeDirTo
- Parameters:
- point1: Object - First point.
- point2: Number or Object - Second point.
- Return Value:
- Number
Examples
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