Arma 3 Scripting

BIS_fnc_markerCreate

  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · original wiki page

Description

Creates marker with given params. Reads config to recognize settings - use for quick debugging only.

Syntax

syntax inferred from the function header

_this call BIS_fnc_markerCreate

Parameters:

Returns: STRING - created marker

Function header

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

/*
Description:
Creates marker with given params.
Reads config to recognize settings - use for quick debugging only.

Parameter(s):
_this: ARRAY of values:
    STRING - one of type, color, brush or shape. If no corresponding class is found, value is used as marker text
    ARRAY
        [STRING(,ANY,ANY,...)] - marker name with optional arguments
        [NUMBER] - marker size [a,a]
        [NUMBER,NUMBER] - marker size [x,y]
        [NUMBER,NUMBER,NUMBER] - marker position [x,y,z]
    OBJECT - object's position
    NUMBER - marker dir
    BOOL - marker locality (true if global)

Returns:
STRING - created marker
*/