Forum: PogamutUT2004

Opponent Scores

I know that a bot can look up its own score using the AgentInfo class, but is there a way to look up opponent scores?
I know the PlayerScore event reports all bot and player scores, but you have to keep track of the score when the event fires rather than just looking it up when you need it.

IWorldEventListener globalListener = new IWorldEventListener() {
public void notify(PlayerScore event) {
//do stuff here
}
}

> I know that a bot can look up its own score using the AgentInfo class, but is there a way to look up opponent scores?
Thanks for pointing that out!

We'll try to create a module that will make opponent scores more accessible.

Cheers!
Jimmy