BIS fnc showMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "Strings" to "Strings")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= GUI
|gr1= GUI
Line 9: 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.


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


|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Latest revision as of 23:38, 12 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