BIS fnc simpleMoveMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 22: | Line 22: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["BIS_marker",[1111,2222,0]] call BIS_fnc_moveMarker;</sqf> | ||
|x2= < | |x2= <sqf>["BIS_marker",(getMarkerPos "BIS_marker2"),2] call BIS_fnc_simpleMoveMarker;</sqf> | ||
|seealso= [[BIS_fnc_cancelMarker]] [[BIS_fnc_blinkMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_rotateMarker]] [[BIS_fnc_resizeMarker]] [[BIS_fnc_moveMarker]] | |seealso= [[BIS_fnc_cancelMarker]] [[BIS_fnc_blinkMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_rotateMarker]] [[BIS_fnc_resizeMarker]] [[BIS_fnc_moveMarker]] | ||
}} | }} |
Revision as of 22:45, 12 July 2022
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:
- Example 2:
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