BIS fnc getMarkerState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.78
|version1= 1.78


Line 9: Line 8:
|descr= Returns the state of a marker.
|descr= Returns the state of a marker.


||s1= [marker] call [[BIS_fnc_getMarkerState]]|=Syntax
|s1= [marker] call [[BIS_fnc_getMarkerState]]
 
|p1= marker: [[String]] - Marker


|r1= [[String]] - Returns state of the marker. "Shown", "Hidden", "Canceled", "Default", if marker does not exist, [[nil]] is returned
|p1= marker: [[String]] - marker


|x1= <code>_state = ["BIS_marker_1"] [[call]] [[BIS_fnc_getMarkerState]];</code>
|r1= [[String]] - returns state of the marker. "Shown", "Hidden", "Canceled", "Default", if marker does not exist, [[nil]] is returned


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


|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]]
}}
}}

Latest revision as of 16: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