Arma 3 Scripting

Function in Diagnostic

BIN_fnc_isExtensionError

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

Description

Returns true and displays description of the error from extension if there was an error. When extension returns negative number (usually -1), it is considered an indication of some sort of error, in which case string output should contain the description of the error.

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

Extension call BIN_fnc_isExtensionError

Parameters:

Returns: BOOL - true if error

Function header

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

/*
    Killzone_Kid

Description:
    Returns true and displays description of the error from extension if there was an error.
    When extension returns negative number (usually -1), it is considered an indication of some sort of error,
    in which case string output should contain the description of the error.

Parameter(s):
    Extension (arg version) output in format [<string>, <number>, <number>]

Returns:
    BOOL - true if error
*/