Skip to content
Blocks edited this page Jan 8, 2020 · 1 revision

Sending Quickchat

SendQuickChatFromAgent(teamOnly: false, quickChat: QuickChatSelection.Compliments_WhatASave);

Note that sending too many quickchats in a short time frame will temporarily disable quickchats for that bot, just like it does for humans.

Receiving Quickchat

QuickChatMessages quickChatMessages = ReceiveQuickChat();
for (int i = 0; i < quickChatMessages.MessagesLength; i++)
{
    QuickChat quickChat = quickChatMessages.Messages(i).Value;
    Console.WriteLine($"Received {quickChat.QuickChatSelection} from player #{quickChat.PlayerIndex}");
}
Clone this wiki locally