BIS fnc showMarkers: Difference between revisions

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


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= GUI
____________________________________________________________________________________________


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


| [action, markers] call [[BIS_fnc_showMarkers]] |Syntax=
|s1= [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]]s - markers to show/hide


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


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


| [[:Category:Command Group: Markers|Markers command group]] |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:Functions|{{uc:showMarkers}}]]
[[Category:Function Group: GUI|{{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