Description
Moves marker to a new position
Syntax
[marker, newPosition, duration, interpolationType] call BIS_fnc_moveMarker
Parameters:
marker: String - markernewPosition: Array - new positionduration: Number - (Optional, default 5) how long it takes to move the marker in secondsinterpolationType: Number - (Optional, default 4) can be one of:- 0: LINEAR
- 1: CUBIC
- 2: EASEIN
- 3: EASEOUT
- 4: EASEINOUT
- 5: HERMITE
- 6: BERP
- 7: BOUNCEIN
- 8: BOUNCEOUT
- 9: BOUNCEINOUT
- 10: QUINTICIN
- 11: QUINTICOUT
- 12: QUINTICINOUT
Returns: Nothing
Examples
Example 1
["BIS_marker", [1111,2222,0]] call BIS_fnc_moveMarker;
Example 2
["BIS_marker", getMarkerPos "BIS_marker2", 2, 9] call BIS_fnc_moveMarker;
See also
BIS_fnc_cancelMarker · BIS_fnc_blinkMarker · BIS_fnc_getMarkers · BIS_fnc_rotateMarker · BIS_fnc_resizeMarker