Character screen coordinates (SOLVED)

Started by Kinoko, Sat 28/01/2006 06:51:53

Previous topic - Next topic

Kinoko

Is there some way I can get the current screen coordinates of a character? It'd be handy if I could use this with CreateOverlay

Gregjazz

Yes, you have to use these to find the character's position relative to screen coordinates:

character[EGO].x - GetViewportX()
character[EGO].y - GetViewportY()

Kinoko


SMF spam blocked by CleanTalk