BIS fnc resizeMarker: Difference between revisions

From Bohemia Interactive Community
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:...")
 
mNo edit summary
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.78


|1.78|Game version=
|gr1= Map and Markers


<!---|arg= local |Multiplayer Arguments=--->
|arg= global


<!---|eff= local |Multiplayer Effects=--->
|eff= global


| <pre>/*
|descr= Resize marker. Use either absolute values or proportional values.
Author:
BIS


Description:
|s1= [marker, size, duration] spawn [[BIS_fnc_resizeMarker]]
Resize marker. Use either absolute values or proportionaly by its current size.


Parameters:
|p1= marker: [[String]] - marker
Select 0 - STRING: Marker
Select 1 - ARRAY: Size [x-axis, y-axis]
Select 2 (OPTIONAL) - NUMBER: Duration of resizing, default is 1


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


Example:
|p3= duration: [[Number]] - (Optional, default 1) duration of the transition
_resize = ["BIS_marker",[2,2]] spawn BIS_fnc_resizeMarker;
_resize = ["BIS_marker",[5,5],5] spawn BIS_fnc_resizeMarker;
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=


|[] call [[BIS_fnc_resizeMarker]]|Syntax=
|r1= [[Nothing]]


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|x1= <sqf>["BIS_marker",[2,2],3] spawn BIS_fnc_resizeMarker;</sqf>


|Datatype - description|Return value=
|exec= spawn


|x1= <code></code>|Example 1=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:resizeMarker}}]]
[[Category:Functions|{{uc:resizeMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:resizeMarker}}]]

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