Page 1 of 1
How can I get opponent's position?
Posted: 08 Jan 2009, 21:07
by picmee
Now, I can access some data from callback interface. but i can not get data about opponent's postion. Please suggest me.
Thank you.
Re: How can I get opponent's position?
Posted: 08 Jan 2009, 21:19
by hoijui
you are using the old interface i guess? IAICheats?
what do you mean with enemies position? the position of all enemy units, or the start positions?
The first one could be done with IAICheats.GetAICallback().
btw...
as said, this interface is old, and you may wait for the new C++ interface to come, use the already working Java Interface (though it may still change) or wait for other languages (possibly comming: D, C#).
Could you possibly explain what you want to do, and what you are doing at the moment wiht spring AIs? so we can possibly help you better now, and when you come with further questions.
Re: How can I get opponent's position?
Posted: 09 Jan 2009, 01:11
by hoijui
will you be extending AAI, or an other of the existing AIs, or will you start a new project?