BIS fnc position: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Positions
|gr1= Positions


|Returns [[PositionAGL]], unless passed argument is [[Array]], then the same array is returned. When position is [[Object]] and alternative position is stored in <tt>"BIS_fnc_position_forced"</tt> variable on this object, the stored position is used rather than actual object position.
|Returns [[PositionAGL]], unless passed argument is [[Array]], then the same array is returned. When position is [[Object]] and alternative position is stored in <tt>"BIS_fnc_position_forced"</tt> variable on this object, the stored position is used rather than actual object position.

Revision as of 13:42, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Positions

Syntax

Syntax:
Syntax needed
Parameters:
argument - could be one of:
  • Array - position in format [x,y] or [x,y,z]
  • Object - object
  • Group - group, group leader position is used
  • Location - location
  • String - marker or variable name containing object
Return Value:
Return value needed

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