BotChat

From Soldat Community Wiki
Revision as of 18:55, 23 August 2012 by Shoozza (talk | contribs) (Created page with "===From the Scripting Manual=== ''procedure BotChat(ID: byte; Text: string);'' '''Parameter Info:''' ID (Byte): ID of the BOT ( Does (and will not, dont ask) not work on...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

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

Parameter Info:
 ID (Byte): ID of the BOT ( Does (and will not, dont ask) not work on human players )
 Text (String): Text for the bot to speak.

Description:
 This function will make a bot say something! They are alive!

Examples

  
begin
  BotChat(1,'Oogie boogie I come to you from beyond the grave!');
  // Assuming player ID 1 is a bot.
end;


External Links