BIS fnc getMarkerState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
Line 14: Line 14:
|r1= [[String]] - Returns state of the marker. "Shown", "Hidden", "Canceled", "Default", if marker does not exist, [[nil]] is returned
|r1= [[String]] - Returns state of the marker. "Shown", "Hidden", "Canceled", "Default", if marker does not exist, [[nil]] is returned


|x1= <code>_state = ["BIS_marker_1"] [[call]] [[BIS_fnc_getMarkerState]];</code>
|x1= <code>[[private]] _state = ["BIS_marker_1"] [[call]] [[BIS_fnc_getMarkerState]];</code>


|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_colorMarker]]
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_colorMarker]]
}}
}}

Revision as of 12:06, 6 May 2022

Hover & click on the images for description

Description

Description:
Returns the state of a marker.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
[marker] call BIS_fnc_getMarkerState
Parameters:
marker: String - Marker
Return Value:
String - Returns state of the marker. "Shown", "Hidden", "Canceled", "Default", if marker does not exist, nil is returned

Examples

Example 1:
private _state = ["BIS_marker_1"] call BIS_fnc_getMarkerState;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_changeColorMarker BIS_fnc_getMarkers BIS_fnc_colorMarker

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