BIS fnc simpleMoveMarker: Difference between revisions
Jump to navigation
Jump to search
m (infobox to template) |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.78 | |version1= 1.78 | ||
<! | <!--|exec= server|=--> | ||
|arg= global | |||
| | |eff= global | ||
|descr= Moves marker to a new position. Simple version of [[BIS_fnc_moveMarker]]. | |||
|s1= [marker, newPosition, duration] [[call]] [[BIS_fnc_simpleMoveMarker]] | |||
|p1= marker: [[String]] - Marker | |||
|p2= newPosition: [[Array]] - New position | |||
| | |p3= duration: [[Number]] - (Optional, default 5) How long it takes to move the marker in seconds | ||
| | |r1= [[Nothing]] | ||
| | |x1= <code>["BIS_marker",[1111,2222,0]] [[call]] [[BIS_fnc_moveMarker]];</code> | ||
| | |x2= <code>["BIS_marker",([[getMarkerPos]] "BIS_marker2"),2] [[call]] [[BIS_fnc_simpleMoveMarker]];</code> | ||
|exec= call | | |exec= call | ||
|seealso= [[BIS_fnc_cancelMarker]] [[BIS_fnc_blinkMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_rotateMarker]] [[BIS_fnc_resizeMarker]] [[BIS_fnc_moveMarker]] | |||
}} | }} | ||
[[Category:Function Group: Map|{{uc:simpleMoveMarker}}]] | [[Category:Function Group: Map|{{uc:simpleMoveMarker}}]] | ||
[[Category:Functions|{{uc:simpleMoveMarker}}]] | [[Category:Functions|{{uc:simpleMoveMarker}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:simpleMoveMarker}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:simpleMoveMarker}}]] |
Revision as of 19:11, 6 January 2020
Description
- Description:
- Moves marker to a new position. Simple version of BIS_fnc_moveMarker.
- Execution:
- call
- Groups:
- Uncategorised
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