drawIcon

From Bohemia Interactive Community
Revision as of 17:37, 19 October 2013 by HeliJunkie (talk | contribs) (Added example)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Draw an Icon on the map.
Groups:
Uncategorised

Syntax

Syntax:
map drawIcon [texture, color, position, width, height, angle, text, shadow, textSize, font, align]
Parameters:
map: Control
[texture, color, position, width, height, angle, text, shadow, textSize, font, align]: Array
Return Value:
Nothing

Examples

Example 1:
_map drawIcon ["iconStaticMG",[1,0,0,1],getpos player, 24,24,getdir player,"Player Vehicle", false ,0.06, "TahomaB", "center"];

Additional Information

See also:
drawArrowdrawEllipsedrawLinedrawRectangle

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

Notes

Posted on July 03, 2013 - 15:35
Druid
Support of paremeters textSize, font and align is in the game since Arma 3 version 0.72.

Bottom Section