General Purpose Debug Message Writer
Handles very long messages without losing text or crashing the game.
_message | Message to write or data structure to dump [String or Array]. |
_component | component [String, defaults to “CBA_DIAGNOSTIC”] |
_typeOfDebug | Type of message [3-element Array, as described below...] |
... _useGlobalChat | Write to global chat [Boolean, defaults to true]. |
... _local | Log to local arma.rpt [Boolean, defaults to true] |
... _global | Log to local and remote arma.rpt [Boolean, defaults to false] |
nil
// 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;
Sickboy