BIS fnc locationDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
(added Positions group)
 
(10 intermediate revisions by one other user not shown)
Line 5: Line 5:


|gr1= Map and Markers
|gr1= Map and Markers
|gr2= Positions


|descr= Return location description (e.g. "NE of Agia Marina")
|descr= Return location description (e.g. "NE of Agia Marina")
Line 10: Line 11:
|s1= position call [[BIS_fnc_locationDescription]]
|s1= position call [[BIS_fnc_locationDescription]]


|p1= position: [[Position]] - (Optional, default {{ic|[[cameraOn]] [[call]] [[BIS_fnc_position]]}})
|p1= position: [[Position]] - (Optional, default <sqf inline>cameraOn call BIS_fnc_position</sqf>)


|r1= [[String]]
|r1= [[String]]


|x1= <code>[[hint]] [[format]] ["Player's position: %1", [[player]] [[call]] [[BIS_fnc_locationDescription]]];</code>
|x1= <sqf>hint format ["Player's position: %1", player call BIS_fnc_locationDescription];</sqf>


|seealso= [[BIS_fnc_position]] [[cameraOn]] [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]]
|seealso= [[BIS_fnc_position]] [[cameraOn]] [[getPos]] [[getPosATL]] [[getPosASL]] [[getPosASLW]]
}}
}}

Latest revision as of 11:39, 1 August 2022

Hover & click on the images for description

Description

Description:
Return location description (e.g. "NE of Agia Marina")
Execution:
call
Groups:
Map and MarkersPositions

Syntax

Syntax:
position call BIS_fnc_locationDescription
Parameters:
position: Position - (Optional, default cameraOn call BIS_fnc_position)
Return Value:
String

Examples

Example 1:
hint format ["Player's position: %1", player call BIS_fnc_locationDescription];

Additional Information

See also:
BIS_fnc_position cameraOn getPos getPosATL getPosASL getPosASLW

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