From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
Description
- Description:
 
- Draws a static arrow (outline or color filled) on map. See Example 4 for arrow removal.
 
- Execution:
 
- call
 - Groups:
 
- Map and Markers
 
Syntax
- Syntax:
 
- [from, to, color, pars, fill, map] call BIS_fnc_drawArrow
 - Parameters:
 
- from: Array - arrow start position in format [x,y] or [x,y,z]
 
- to: Array - arrow end position in format [x,y] or [x,y,z]
 
- color: Array format Color (RGBA) - (Optional, default [1,1,1,1]) arrow line or fill color
 
- pars: Array - (Optional) arrow geometry details in format [arrowThickness, arrowHeadLengthCoef, arrowHeadWidthCoef], where:
- arrowThickness: Number - (Optional, default 10) arrow thickness in meters
 
- arrowHeadLengthCoef:  Number - (Optional, default 1/3) arrow head length compared to the total length of the arrow
 
- arrowHeadWidthCoef:  Number - (Optional, default 2) arrow head width compared to the arrow thickness
 
 1.98 arrowBaseWidthCoef: Number - (Optional, default 1) arrow base width compared to the arrow thickness
 
- fill: Boolean - (Optional, default true) true to draw color filled arrow, false to draw outline
 
- map: Control - (Optional, default display 12 displayCtrl 51) map control
 - Return Value:
 
- Array - arrow reference for removal in format [idd, idc, ehId] or empty array [] on removal operation
 
 
Examples
- Example 1:
 - Draw a semi-transparent, blue arrow with default geometry:
 - Example 2:
 - Draw a wide, green arrow outline:
 - Example 3:
 - Draw a thin, red arrow with custom head geometry:
 - Example 4:
 - Remove the arrow created in Example 3:
 - Example 5:
 
Additional Information
- See also:
 
- drawArrow
 
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