Arma 3 Scripting

BIS_fnc_kbPriority

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

Function · Markdown · JSON · original wiki page

Description

Set conversation priority. Conversations with priority not in the list won't be played

Syntax

syntax inferred from the function header

_this call BIS_fnc_kbPriority

Parameters:

Returns: ARRAY - List of priorities

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:
Set conversation priority. Conversations with priority not in the list won't be played

Parameter(s):
_this:
    ARRAY - List of priorities. Empty array will just return current value.
    NUMBER
        >0 - add priority to already existing list
        <0 - remove priority from already existing list
        Priority 0 cannot be tempered with

Returns:
ARRAY - List of priorities
*/