BIS fnc getMarkerState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[private\]\] (_?[a-zA-Z0-9_]+) = \[([^\[]*)\] \[\[(call|spawn)\]\] \[\[(BI(N|S)_fnc_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>private $1 = [$2] $3 $4;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
|s1= [marker] call [[BIS_fnc_getMarkerState]]
|s1= [marker] call [[BIS_fnc_getMarkerState]]


|p1= marker: [[String]] - Marker
|p1= marker: [[String]] - marker


|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= <sqf>private _state = ["BIS_marker_1"] call BIS_fnc_getMarkerState;</sqf>
|x1= <sqf>private _state = ["BIS_marker_1"] call BIS_fnc_getMarkerState;</sqf>

Latest revision as of 15:47, 8 November 2023

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