BIS fnc moveMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[call\]\]) ([^ ]+) " to "|s$1= $2 call $4 ")
Line 12: Line 12:
|descr= Moves marker to a new position
|descr= Moves marker to a new position


|s1= [marker, newPosition, duration, interpolationType] [[call]] [[BIS_fnc_moveMarker]]
|s1= [marker, newPosition, duration, interpolationType] call [[BIS_fnc_moveMarker]]


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

Revision as of 18:18, 20 June 2021

Hover & click on the images for description

Description

Description:
Moves marker to a new position
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
[marker, newPosition, duration, interpolationType] call BIS_fnc_moveMarker
Parameters:
marker: String - Marker
newPosition: Array - New position
duration: Number - (Optional, default 5) How long it takes to move the marker in seconds
interpolationType: Number - (Optional, default 4) LINEAR 0
CUBIC 1
EASEIN 2
EASEOUT 3
EASEINOUT 4
HERMITE 5
BERP 6
BOUNCEIN 7
BOUNCEOUT 8
BOUNCEINOUT 9
QUINTICIN 10
QUINTICOUT 11
QUINTICINOUT 12
CONSTANT 13
Return Value:
Nothing

Examples

Example 1:
["BIS_marker",[1111,2222,0]] call BIS_fnc_moveMarker;
Example 2:
["BIS_marker",(getMarkerPos "BIS_marker2"),2,13] call BIS_fnc_moveMarker;

Additional Information

See also:
BIS_fnc_cancelMarker BIS_fnc_blinkMarker BIS_fnc_getMarkers BIS_fnc_rotateMarker BIS_fnc_resizeMarker

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