BIS fnc showMarkers: 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= GUI | |gr1= GUI | ||
| Show or hide given markers using fade effect. | | Show or hide given markers using fade effect. | ||
| [action, markers] call [[BIS_fnc_showMarkers]] | | [action, markers] call [[BIS_fnc_showMarkers]] | ||
|p1= action: [[String]] - can be "show" or "hide". Any other value will be ignored. | |p1= action: [[String]] - can be "show" or "hide". Any other value will be ignored. | ||
|p2= markers: [[Array]] of [[String|Strings]] - markers to show/hide | |p2= markers: [[Array]] of [[String|Strings]] - markers to show/hide | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>["hide", ["respawn_west", "respawn_east"]] [[call]] [[BIS_fnc_showMarkers]];</code> | |x1= <code>["hide", ["respawn_west", "respawn_east"]] [[call]] [[BIS_fnc_showMarkers]];</code> | ||
| [[:Category:Command Group: Markers|Markers command group]] | | [[:Category:Command Group: Markers|Markers command group]] | ||
}} | }} | ||
Revision as of 23:44, 17 January 2021
Description
Syntax
- Syntax:
- [action, markers] call BIS_fnc_showMarkers
- Parameters:
- action: String - can be "show" or "hide". Any other value will be ignored.
- markers: Array of Strings - markers to show/hide
- Return Value:
- Nothing
Examples
- Example 1:
["hide", ["respawn_west", "respawn_east"]] call BIS_fnc_showMarkers;
Additional Information
- See also:
- Markers command group
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