DebugLog

Category: Messages
Since engine version: 4.9.7.0 CR

Description

Displays a text in the message board at the bottom of the screen. The text is only shown if the debug mode is enabled. Parameters can be inserted in C formatting style. See Format.

Syntax

void DebugLog (string szMessage,  ...);

Parameters

szMessage:
Text to be displayed
...:
[opt] Additional parameters for text formatting

Example

DebugLog("PlayerName: %s.", GetPlayerName(0));
Displays the name of the first player.
See also: Format, Log, Message
Fulgen / Clonk Wiki, Juli 2016