Difference between revisions of "BotChat"
Tehbugerz0r (talk | contribs) |
Tehbugerz0r (talk | contribs) |
||
Line 1: | Line 1: | ||
− | === | + | ===Scripting Manual=== |
''procedure BotChat(ID: byte; Text: string);'' | ''procedure BotChat(ID: byte; Text: string);'' | ||
Line 8: | Line 8: | ||
'''Description:''' | '''Description:''' | ||
This function will make a bot say something! They are alive! | 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== | ==Examples== | ||
Line 15: | Line 16: | ||
end; | end; | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Server Scripting]][[Category:Server Scripting Functions]] | [[Category:Server Scripting]][[Category:Server Scripting Functions]] |
Revision as of 09:36, 10 September 2012
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;