Quote from: WHAM on Thu 24/03/2011 18:07:54
Is it possible to do something similiar with character ID?
There's no own function for this, but you can do with the retrieved Character object whatever you want, for example get its ID:
int charid = -1;
Character* chr = Character.GetAtScreenXY(x, y);
if (chr != null) charid = chr.ID;
This should give you the idea, I mean, ID. The condition is necessary because if there's no character there, the object is null and trying to access its ID would get you a NullPointerException.