getRelDir: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.55|= Game version |arg= global|=...") |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns direction, which is relative to object's current direction, from given object to another object or position in the range from 0 to 360. |= Description | | Returns direction, which is relative to object's current direction, from given object to another object or position in the range from 0 to 360, the equivalent of [[BIS_fnc_relativeDirTo]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 17:43, 13 November 2015
Description
- Description:
- Returns direction, which is relative to object's current direction, from given object to another object or position in the range from 0 to 360, the equivalent of BIS_fnc_relativeDirTo.
- Groups:
- Uncategorised
Syntax
- Syntax:
- object getRelDir position
- Parameters:
- object: Object
- position: Object, Position2D or Position3D
- Return Value:
- Number
Examples
- Example 1:
_reldir = player getRelDir tank;
Additional Information
- See also:
- getDirdirectiongetDirVisual
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
[[Category:Introduced with arma3dev version 1.55]][[ Category: arma3dev: New Scripting Commands | GETRELDIR]][[ Category: arma3dev: Scripting Commands | GETRELDIR]]