Difference between revisions of "BotChat"

From Soldat Community Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 18:55, 23 August 2012

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