BIS_fnc_rotateMarker
- Global argument
- Global effect
- Runs with spawn
- Arma 3 v1.78
Function · Markdown · JSON · original wiki page
Description
Rotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement.
Syntax
[marker, newAzimuth, absoluteOrRelativ, shortestTurn, duraton] spawn BIS_fnc_rotateMarker
Parameters:
marker: String - marker to rotatenewAzimuth: Number - new azimuthabsoluteOrRelativ: Boolean - (Optional, default true) defines if the azimuth is absolute true or relative falseshortestTurn: Number - (Optional, default 0) 0 - shortest turn (default, if used with relative dir, counter clockwise is used)
1 - force clockwise
2 - force counter clockwiseduraton: Number - (Optional, default 2) duration for the complete rotation in seconds
Returns: Nothing
Examples
Example 1
["BIS_marker",90] spawn BIS_fnc_rotateMarker;
Example 2
["BIS_marker",90,false,2,5] spawn BIS_fnc_rotateMarker;
See also
BIS_fnc_blinkMarker · BIS_fnc_resizeMarker · BIS_fnc_moveMarker