BIS fnc simpleMoveMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
|s1= [marker, newPosition, duration] call [[BIS_fnc_simpleMoveMarker]]
|s1= [marker, newPosition, duration] call [[BIS_fnc_simpleMoveMarker]]


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


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


|p3= duration: [[Number]] - (Optional, default 5) How long it takes to move the marker in seconds
|p3= duration: [[Number]] - (Optional, default 5) how long it takes to move the marker in seconds


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 15:39, 8 November 2023

Hover & click on the images for description

Description

Description:
Moves marker to a new position. Simple version of BIS_fnc_moveMarker.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
[marker, newPosition, duration] call BIS_fnc_simpleMoveMarker
Parameters:
marker: String - marker
newPosition: Array - new position
duration: Number - (Optional, default 5) how long it takes to move the marker in seconds
Return Value:
Nothing

Examples

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

Additional Information

See also:
BIS_fnc_cancelMarker BIS_fnc_blinkMarker BIS_fnc_getMarkers BIS_fnc_rotateMarker BIS_fnc_resizeMarker BIS_fnc_moveMarker

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