BIS fnc position: Difference between revisions
Jump to navigation
Jump to search
m (formatting) |
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
||
Line 2: | Line 2: | ||
|game1= tkoh | |game1= tkoh | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= arma3 | |game2= arma3 | ||
|version2= 0.50 | |version2= 0.50 | ||
Revision as of 10:13, 14 June 2021
Description
- Description:
- Returns PositionAGL, unless passed argument is Array, then the same array is returned. When position is Object and alternative position is stored in "BIS_fnc_position_forced" variable on this object, the stored position is used rather than actual object position. This function is a pretty safe way to get the position of an entity.
- Execution:
- call
- Groups:
- Positions
Syntax
- Syntax:
- argument call BIS_fnc_position
- Parameters:
- argument - Could be one of:
- Return Value:
- Array - Position in format [x, y] or [x, y ,z]
Examples
- Example 1:
_pos = player call BIS_fnc_position;
Additional Information
- See also:
- Position
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