drawIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Added example)
Line 17: Line 17:


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
|x1= <code> _map  drawIcon ["iconStaticMG",[1,0,0,1],getpos player, 24,24,getdir player,"Player Vehicle", false ,0.06, "TahomaB", "center"];</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 17:37, 19 October 2013

-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