BIS fnc rotateMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[spawn\]\]) ([^ ]+) " to "|s$1= $2 spawn $4 ") |
||
Line 12: | Line 12: | ||
|descr= Rotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement. | |descr= Rotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement. | ||
|s1= [marker, newAzimuth, absoluteOrRelativ, shortestTurn, duraton] | |s1= [marker, newAzimuth, absoluteOrRelativ, shortestTurn, duraton] spawn [[BIS_fnc_rotateMarker]] | ||
|p1= marker: [[String]] - Marker to rotate | |p1= marker: [[String]] - Marker to rotate |
Revision as of 18:19, 20 June 2021
Description
- Description:
- Rotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement.
- Execution:
- spawn
- Groups:
- Map and Markers
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
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