BIS fnc locationDescription: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| position call [[BIS_fnc_locationDescription]] |SYNTAX= | | position call [[BIS_fnc_locationDescription]] |SYNTAX= | ||
|p1= position: [[Position]] - (Optional, default {{Inline code|[[cameraOn]] [[call]] [[BIS_fnc_position]]}}) |= | |p1= position: [[Position]] - (Optional, default {{Inline code|[[cameraOn]] [[call]] [[BIS_fnc_position]]}}) |PARAMETER1= | ||
| [[String]] |RETURNVALUE= | | [[String]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|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> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:31, 7 April 2019
Description
- Description:
- Return location description (e.g. "NE of Agia Marina")
- Execution:
- call
- Groups:
- Uncategorised
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