Arma 3 Scripting

actionParams

  • Arma 3 v1.64

Command · Markdown · JSON · original wiki page

Description

Returns Array with params for given user action id (similar to addAction param array).

Syntax

entity actionParams id

Parameters:

Returns: Array with [title, script, arguments, priority, showWindow, hideOnUse, shortcut, condition, radius, unconscious, textWindowBackground, textWindowForeground, selection, memoryPoint]

If entity is objNull, the following array is returned:

["", "", nil, 1.5, true, true, "", "", 50, false, "", "", "", ""]

(returned Nothing until Arma 3 v1.94)

Examples

Example 1

_params = player actionParams 0;

See also

actionIDs · addAction · setUserActionText · inGameUISetEventHandler · showHUD · inputAction · removeAction · removeAllActions · action