BIS fnc showMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
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|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= GUI |GROUP1=
|gr1= GUI


| Show or hide given markers using fade effect. |Description=
| Show or hide given markers using fade effect.


| [action, markers] call [[BIS_fnc_showMarkers]] |Syntax=
| [action, markers] call [[BIS_fnc_showMarkers]]


|p1= action: [[String]] - can be "show" or "hide". Any other value will be ignored. |Parameter 1=
|p1= action: [[String]] - can be "show" or "hide". Any other value will be ignored.


|p2= markers: [[Array]] of [[String|Strings]] - markers to show/hide |Parameter 2=
|p2= markers: [[Array]] of [[String|Strings]] - markers to show/hide


| [[Nothing]] |Return value=
| [[Nothing]]


|x1= <code>["hide", ["respawn_west", "respawn_east"]] [[call]] [[BIS_fnc_showMarkers]];</code> |Example 1=
|x1= <code>["hide", ["respawn_west", "respawn_east"]] [[call]] [[BIS_fnc_showMarkers]];</code>


| [[:Category:Command Group: Markers|Markers command group]] |See also=
| [[:Category:Command Group: Markers|Markers command group]]
}}
}}



Revision as of 00:44, 18 January 2021

Hover & click on the images for description

Description

Description:
Show or hide given markers using fade effect.
Execution:
call
Groups:
GUI

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

Bottom Section