BIS fnc showMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "Strings" to "Strings")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= GUI


|1.00|= Game version
|descr= Show or hide given markers using fade effect.
____________________________________________________________________________________________


| ''N/A'' |= Description
|s1= [action, markers] call [[BIS_fnc_showMarkers]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_showMarkers]]; --> |= Syntax
|p1= action: [[String]] - can be "show" or "hide". Any other value will be ignored.


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


| |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________


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


|seealso= [[:Category:Command Group: Markers|Markers command group]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:showMarkers}}]]
[[Category:Functions|{{uc:showMarkers}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:showMarkers}}]]

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