BIS fnc position: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
||
Line 28: | Line 28: | ||
}} | }} | ||
[[Category:Functions|{{uc:position}}]] | [[Category:Functions|{{uc:position}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:position}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:position}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:position}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:position}}]] |
Revision as of 01:11, 18 January 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.
- 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