Arma 3 Scripting

Command in GUI Control

cutObj

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

Description

Displays an object defined in the global config in CfgTitles.

Note

Arma 3: For greater efficiency and ease of modability, it is recommended to use named layers with #Syntax 3.

Syntax

Syntax 1

cutObj [class, type, speed, showInMap, drawOverHUD]

Parameters:

Returns: Nothing

Syntax 2

layer cutObj [class, type, speed, showInMap, drawOverHUD]

Parameters:

Returns: Nothing

Syntax 3

since arma3 1.58

layerName cutObj [class, type, speed, showInMap, drawOverHUD]

Parameters:

Returns: Number - number of the allocated layer

Examples

Example 1

cutObj ["TVSet", "PLAIN"];
cutObj ["TVSet", "PLAIN", 2];

Example 2

2 cutObj ["Sphere", "PLAIN"];

Example 3

private _layer = "layer1" cutObj ["BISLogo", "PLAIN"];

See also

allCutLayers · titleObj · cutText · cutRsc · cutFadeOut · allActiveTitleEffects · activeTitleEffectParams