Arma 3 Scripting

drawEllipse

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Draws an ellipse on the map. Just like with marker or trigger area, negative a and b will result in hexagon.

Syntax

map drawEllipse [centre, a, b, angle, color, fill, alignWithMap]

Parameters:

Returns: Nothing

Examples

Example 1

findDisplay 12 displayCtrl 51 ctrlAddEventHandler ["Draw",
{
    _this select 0 drawEllipse [
        player, 10, 10, 0, [1, 0, 0, 1], ""
    ];
    _this select 0 drawEllipse [
        player, -10, -10, 0, [1, 1, 1, 1], "#(rgb,8,8,3)color(1,0.6,0,1)"
    ];
    _this select 0 drawEllipse [
        player, -10, -10, 90, [0, 0, 1, 1], ""
    ];
}];

See also

drawArrow · drawIcon · drawLine · drawRectangle · drawPolygon · drawTriangle · drawXPolygon

Community notes

Waffle SS.

Be careful when using this command. Unlike map markers, the draw commands can decrease your framerate.