BotChat

From Soldat Community Wiki
Revision as of 17:22, 10 September 2012 by Shoozza (talk | contribs) (Formatted code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Scripting Manual

procedure BotChat(ID: Byte; Text: string);

Parameter Info:
 ID (Byte): ID of the bot (Also works on human players)
 Text (string): Text for the bot to speak.

Description:
 This function will make a bot say something! They are alive!
 Note that as of Soldatserver 2.7.3 this will also work on human players, it is called BotChat for compatibility with older scripts.

Examples

  
begin
  BotChat(1, 'Oogie boogie I come to you from beyond the grave!');
end;