BIS fnc resizeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (page filled)
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.78|Game version=
|version1= 1.78


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


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


| <pre>/*
|eff= global
Author:
BIS


Description:
|descr= Resize marker. Use either absolute values or proportional values.
Resize marker. Use either absolute values or proportionaly by its current size.


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


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


Example:
|p2= size: [[Array]] - (Optional, default [1,1]) Array in form of:<br>
_resize = ["BIS_marker",[2,2]] spawn BIS_fnc_resizeMarker;
0: [[Number]] - Size x
_resize = ["BIS_marker",[5,5],5] spawn BIS_fnc_resizeMarker;
1: [[Number]] - Size y
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


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


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|r1= [[Nothing]]


|Datatype - description|Return value=
|x1= <code>["BIS_marker",[2,2],3] [[spawn]] [[BIS_fnc_colorMarker]];</code>


|x1= <code></code>|Example 1=
|exec= spawn


|exec= call |Execution=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]


| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:resizeMarker}}]]
[[Category:Function Group: Map|{{uc:resizeMarker}}]]
[[Category:Functions|{{uc:resizeMarker}}]]
[[Category:Functions|{{uc:resizeMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:resizeMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:resizeMarker}}]]

Revision as of 19:57, 6 January 2020

Hover & click on the images for description

Description

Description:
Resize marker. Use either absolute values or proportional values.
Execution:
spawn
Groups:
Uncategorised

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_colorMarker;

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