BIS fnc moveMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )H([a-z])" to "$1h$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
Line 14: Line 14:
|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


|p2= newPosition: [[Array]] - New position
|p2= newPosition: [[Array]] - New position

Revision as of 15:39, 8 November 2023

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) 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
  • 13: CONSTANT
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