Arma 3 Scripting

ctrlSetProperty

  • Local argument
  • Local effect
  • dev branch
  • Arma 3 v2.24

Command · Markdown · JSON · original wiki page

Description

Sets one or multiple given properties of given control.

Syntax

Syntax 1

control ctrlSetProperty property

Parameters:

Returns: Nothing

Syntax 2

control ctrlSetProperty properties

Parameters:

Examples

Example 1

_ctrl ctrlSetProperty ["x", 0.015];

Example 2

_ctrl ctrlSetProperty #{
    "x": 0.015,
    "colorBackground": [1, 0.4, 1, 1]
}

See also

ctrlGetProperty