BIS fnc getMarkerState: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.78|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author:...") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2") |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.78 | |||
| | |gr1= Map and Markers | ||
|descr= Returns the state of a marker. | |||
|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 | |||
|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]] | |||
}} | }} | ||
Latest revision as of 15:47, 8 November 2023
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:
Additional Information
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