CBA_fnc_debug

Description

General Purpose Debug Message Writer

Handles very long messages without losing text or crashing the game.

Parameters

_messageMessage to write or data structure to dump [String or Array].
_componentcomponent [String, defaults to “CBA_DIAGNOSTIC”]
_typeOfDebugType of message [3-element Array, as described below...]
...  _useGlobalChatWrite to global chat [Boolean, defaults to true].
...  _localLog to local arma.rpt [Boolean, defaults to true]
...  _globalLog to local and remote arma.rpt [Boolean, defaults to false]

Returns

nil

Examples

// Write the debug message in chat-log of local computer, and in
// local and remote arma.rpt.
[ "New Player Joined the Server!", "cba_network", [true, false, true] ] call CBA_fnc_debug;

Author

Sickboy

Close