BIS_fnc_rotateMarker

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.781.78Arguments of this scripting function don't have to be local to the client the function is executed onEffects of this scripting function are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

Description:
Rotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement.

Syntax

Syntax:
[marker, newAzimuth, absoluteOrRelativ, shortestTurn, duraton] spawn BIS_fnc_rotateMarker
Parameters:
marker: String - Marker to rotate
newAzimuth: Number - New azimuth
absoluteOrRelativ: Boolean - (Optional, default true) Defines if the azimuth is absolute true or relative false
shortestTurn: Number - (Optional, default 0) 0 - shortest turn (default, if used with relative dir, counter clockwise is used)
1 - force clockwise
2 - force counter clockwise
duraton: Number - (Optional, default 2) Duration for the complete rotation in seconds
Return Value:
Nothing

Examples

Example 1:
["BIS_marker",90] spawn BIS_fnc_rotateMarker;
Example 2:
["BIS_marker",90,false,2,5] spawn BIS_fnc_rotateMarker;

Additional Information

Execution:
spawn
See also:
BIS_fnc_blinkMarker BIS_fnc_resizeMarker BIS_fnc_moveMarker
Groups:
Map and Markers

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.