Message

Category: Messages
Since engine version: 1.0 OC

Description

Displays a message. Text can be formatted in C formatting style (see Format).

Syntax

bool Message(string message,  ...);

Parameters

message:
Message to be displayed.
...:
[opt] Additional formatting parameters

Remark

Using the character "|" you can insert a line break.

Example

Message("Hello %s!|I am your clonk %s!", GetPlayerName(GetOwner()), GetName());
This script will pop up a message above the clonk's head.
See also: CustomMessage, Log, PlayerMessage
PeterW, 2001-12