BIS_fnc_rotateMarker

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version1.78
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.78

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;
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)

Syntax

Syntax:
[] call BIS_fnc_rotateMarker
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:
Example needed

Additional Information

Execution:
call
Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To