SRL Archive - RS3 Help

playerPoint vs centerPoint


Abu

2013-12-13 14:44:44

Just a question here, which one of these points is closest to the player?

So if I were to do:
sortTPAFrom(tpa, mainScreen.playerPoint);
sortTPAFrom(tpa, mainScreen.centerPoint());

Which one of the above would sort the TPA's closest to my player?

Sjoe

2013-12-13 14:48:58

Can't u output the two points and check manually?

Abu

2013-12-13 15:08:09

From: Sjoe
Can't u output the two points and check manually?


Yes I can and indeed it is playerPoint.

Sorry for being lazy :p

Rich

2013-12-13 15:29:35

Just to clear up for anyone else wondering, centerPoint is the point in the middle of the game screen whereas playerPoint is the center of your character.