From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
/*
Author:
BIS
Description:
Rotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement
Parameters:
Select 0 - STRING: Marker
Select 1 - NUMBER: New azimuth
Select 2 (OPTIONAL) - BOOLEAN: Absolute (true) or relative (false) azimuth (default true)
Select 3 (OPTIONAL) - NUMBER: 0 - shortest turn (default, if used with relative dir, counter clockwise is used), 1 - force clockwise, 2 - force counter clockwise
Select 4 (OPTIONAL) - NUMBER: Duration for complete rotation (default 2)
Returns:
Nothing
Examples:
_rotate = ["BIS_marker",90] spawn BIS_fnc_rotateMarker;
_rotate = ["BIS_marker",90,false] spawn BIS_fnc_rotateMarker;
_rotate = ["BIS_marker",90,true,1] spawn BIS_fnc_rotateMarker;
_rotate = ["BIS_marker",90,false,2,5] spawn BIS_fnc_rotateMarker;
*/
Template:placeholder
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_rotateMarker
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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