CBA_fnc_debug

Description

General Purpose Debug Message Writer

Handles very long messages without losing text.

Parameters

_messageMessage to write <STRING, ARRAY>
_titleMessage title (optional, default: “cba_diagnostic”) STRING
_typeType of message ARRAY
0: _useChatWrite to chat (optional, default: true) <BOOLEAN>
1: _useLogLog to arma.rpt (optional, default: true) <BOOLEAN>
2: _globaltrue: execute global (optional, default: false) <BOOLEAN>

Returns

nil

Examples

// Write the debug message in chat-log of every client
["New Player Joined the Server!", "cba_network", [true, false, true]] call CBA_fnc_debug;

Author

Sickboy, commy2

string used by format
Array to read from [Array]
Close