Arma 3 Scripting

Function in Diary

BIN_fnc_handDrawBezier

Also available as Markdown and JSON, or read the original wiki page.

Description

Show hand-drawn bezier curve in the map

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0, param1, param2, param3, param4, param5, param6] call BIN_fnc_handDrawBezier

Parameters:

Returns: NOTHING

Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, description come from it.

/*
Description:
    Show hand-drawn bezier curve in the map

Parameter(s):
    0: STRING - Unique ID of the ellipse. When such ellipse already exists, it will override it.
    1: ARRAY - control points of bezier curve
    2: ARRAY - color in [r,g,b,a] format
    3: STRING - fill texture
       BOOL - true for default pen-blue color, false for the same, but faded

    Optional:
    4: NUMBER or ARRAY: thickness
    5: ARRAY - random thickness offset in format [min,mid,max]
    6: NUMBER - number od drawing steps

Returns:
    NOTHING
*/