BIS fnc locationDescription: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
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...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Map and Markers | |gr1 = Map and Markers | ||
| Return location description (e.g. "NE of Agia Marina") | | Return location description (e.g. "NE of Agia Marina") | ||
| position call [[BIS_fnc_locationDescription]] | | position call [[BIS_fnc_locationDescription]] | ||
|p1= position: [[Position]] - (Optional, default {{Inline code|[[cameraOn]] [[call]] [[BIS_fnc_position]]}}) | |p1= position: [[Position]] - (Optional, default {{Inline code|[[cameraOn]] [[call]] [[BIS_fnc_position]]}}) | ||
| [[String]] | | [[String]] | ||
|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> | ||
| [[BIS_fnc_position]], [[cameraOn]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] | | [[BIS_fnc_position]], [[cameraOn]], [[getPos]], [[getPosATL]], [[getPosASL]], [[getPosASLW]] | ||
}} | }} | ||
Revision as of 23:09, 17 January 2021
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