BIS fnc locationDescription: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
Line 16: | Line 16: | ||
|x1= <code>[[hint]] [[format]] ["Player's position: %1", [[player]] [[call]] [[BIS_fnc_locationDescription]]];</code> | |x1= <code>[[hint]] [[format]] ["Player's position: %1", [[player]] [[call]] [[BIS_fnc_locationDescription]]];</code> | ||
|seealso= [[BIS_fnc_position]] [[cameraOn]] [[getPos]] [[getPosATL]] | |seealso= [[BIS_fnc_position]] [[cameraOn]] [[getPos]] [[getPosATL]] [[getPosASL]], [[getPosASLW]] | ||
}} | }} |
Revision as of 13:01, 1 July 2022
Description
- Description:
- Return location description (e.g. "NE of Agia Marina")
- Execution:
- call
- Groups:
- Map and Markers
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
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