BIS fnc simpleMoveMarker: Difference between revisions
(Created page with "{{Function|= Comments | arma3 |Game name= |1.78|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author:...") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.78 | |||
| | |gr1= Map and Markers | ||
|arg= global | |||
|eff= global | |||
| | |descr= Move the provided marker to a new position. Simple version of [[BIS_fnc_moveMarker]]. | ||
|s1= [marker, newPosition, duration] call [[BIS_fnc_simpleMoveMarker]] | |||
|p1= marker: [[String]] - marker to move | |||
|p2= newPosition: [[Array]] - new position, [[Position#Position2D|2D]] or 3D | |||
|p3= duration: [[Number]] - (Optional, default 5) how long it takes to move the marker in seconds | |||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf>["BIS_marker", [1111,2222, 0]] call BIS_fnc_moveMarker;</sqf> | ||
| | |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]] | ||
}} | }} | ||
Latest revision as of 23:15, 31 August 2025
Description
- Description:
- Move the provided 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 to move
- newPosition: Array - new position, 2D or 3D
- 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