[Pogamut-list] How to get AgentInfo by player name
jakub.gemrot
pogamut-forum at diana.ms.mff.cuni.cz
Wed Feb 27 09:56:08 CET 2013
Re: How to get AgentInfo by player name
Author: jakub.gemrot
Hi!
Interesting question :-) ... theoretically, all BOT modules should work within the observer as well.
But we haven't tested that yet (except AgentStats that was tested and confirmed to work, so if statistics
can be gathered why not everything else?).
I think that all you have to do is create AgentInfo object (or any other object that interests you) during the construction
of the observer.
See UT2004BotModuleController.initializeModules() method sourcecode for all available modules.
Be sure to correctly initialize the observer, i.e., to receive all important messages that the module needs.
E.g. Players requires PLR messages to come regularly, but AgentInfo just needs SLF message.
Let us know what you have found!
Report any bugs / problems, we will try to fix them ASAP:
http://pogamut.cuni.cz/pogamut-mantis
Cheers!
Jakub
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=1149&post_reply=1#form>
More information about the Pogamut-list
mailing list