Page 1 of 1

Another group AI question: SendTextMsg()

Posted: 18 May 2006, 16:51
by colorblind
Is it possible to send messages to the console with a group AI, which would only be visible for the team that used the group AI?

If I use

Code: Select all

callback->GetAICallback()->SendTextMsg(..,..)
the messages are readable for everyone of the teams. I have a hunch that GetAICallback can take an optional "team" argument, but I'm not sure how the get the current team or if GetAICallback takes arguments at all.

Any help is greatly appreciated.

Posted: 18 May 2006, 18:18
by AF
It cannot, it takes the message in the form const char* and a priority which determines wteher it's displayed in console or nto absed on the min priority the user set in settings...