BIS fnc showMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
m (Text replacement - " |s1=[" to " |s1= [")
Line 8: Line 8:
|descr= Show or hide given markers using fade effect.
|descr= Show or hide given markers using fade effect.


|s1=[action, markers] call [[BIS_fnc_showMarkers]]
|s1= [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.

Revision as of 00:12, 13 July 2022

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