BIS fnc markerParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
No edit summary
Line 33: Line 33:
[[Category:{{Name|tkoh}}: Functions|{{uc:markerParams}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:markerParams}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:markerParams}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:markerParams}}]]
<dl class="command_description">
<dd class="notedate">Posted on February 27, 2021 - 16:30 (UTC)</dd>
<dt class="note">[[User:7erra|7erra]]</dt>
<dd class="note">
Extract all marker information from marker_1 to variables:
<code>("marker_1" [[call]] [[BIS_fnc_markerParams]]) [[params]] ["_nameArray", "_position", "_size", "_colour", "_type", "_brush", "_shape", "_alpha", "_text"];
_position [[params]] ["_posX", "_posY"];
_nameArray [[params]] ["_marker"];
_size [[params]] ["_a", "_b"];</code>
</dd>
</dl>

Revision as of 17:30, 27 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
Syntax needed
Parameters:
varName: String - Variable name of the marker
Return Value:
Return value needed

Examples

Example 1:
_params = "marker_1" call BIS_fnc_markerParams;

Additional Information

See also:
BIS_fnc_markerCreate

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


Posted on February 27, 2021 - 16:30 (UTC)
7erra
Extract all marker information from marker_1 to variables: ("marker_1" call BIS_fnc_markerParams) params ["_nameArray", "_position", "_size", "_colour", "_type", "_brush", "_shape", "_alpha", "_text"]; _position params ["_posX", "_posY"]; _nameArray params ["_marker"]; _size params ["_a", "_b"];