BIS fnc relativeDirTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
mNo edit summary |
||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
|gr1 = Geometry |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[ [0,0,0], [[player]] ] [[call]] '''BIS_fnc_relPos''';</code> |EXAMPLE1= | |x1= <code><nowiki>[</nowiki>[0,0,0], [[player]]] [[call]] '''BIS_fnc_relPos''';</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:58, 10 October 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