BIS fnc resizeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
mNo edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


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


Line 15: Line 14:
|s1= [marker, size, duration] spawn [[BIS_fnc_resizeMarker]]
|s1= [marker, size, duration] spawn [[BIS_fnc_resizeMarker]]


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


|p2= size: [[Array]] - (Optional, default [1,1]) Array in form of:<br>
|p2= size: [[Array]] - (Optional, default [1,1]) array in form of:<br>
0: [[Number]] - Size x<br>
0: [[Number]] - Size x<br>
1: [[Number]] - Size y
1: [[Number]] - Size y


|p3= duration: [[Number]] - (Optional, default 1) Duration of the transition
|p3= duration: [[Number]] - (Optional, default 1) duration of the transition


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>["BIS_marker",[2,2],3] [[spawn]] [[BIS_fnc_colorMarker]];</code>
|x1= <sqf>["BIS_marker",[2,2],3] spawn BIS_fnc_resizeMarker;</sqf>


|exec= spawn
|exec= spawn


|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]
}}
}}
[[Category:Functions|{{uc:resizeMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:resizeMarker}}]]

Latest revision as of 09:03, 26 November 2023

Hover & click on the images for description

Description

Description:
Resize marker. Use either absolute values or proportional values.
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[marker, size, duration] spawn BIS_fnc_resizeMarker
Parameters:
marker: String - marker
size: Array - (Optional, default [1,1]) array in form of:
0: Number - Size x
1: Number - Size y
duration: Number - (Optional, default 1) duration of the transition
Return Value:
Nothing

Examples

Example 1:
["BIS_marker",[2,2],3] spawn BIS_fnc_resizeMarker;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_changeColorMarker BIS_fnc_getMarkers BIS_fnc_getMarkerState 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