drawIcon

From Bohemia Interactive Community
Revision as of 17:57, 19 October 2013 by HeliJunkie (talk | contribs) (Added parameter and descriptions)
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. Align can be at least "left","center","right". All not recognized keys will be result in a rigth alignment.
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
texture: String
color: Array
position: Position2D
width: Number
height: Number
angle: Number
text: String
shadow: Boolean
textSize: Number
font: String
align: String
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