View Single Post
  #29  
Old 06-03-2009, 07:01 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Clientside, remoteplayer.level is not accessible, but remoteplayer.gmap is, unless you're in the same level as the remote player.

So, basically, if Stefan is in level1.nw and I am in level2.nw, I cannot do
echo(findplayer("Stefan").level.name);

If Stefan is in level1.nw and I am in level1.nw it has no problem.

It's crucial to fix this for things like the client-rc (that's the reason why half of the playercount appears in the "admin" tab on the playerlist in client-rc) and for things like the playerlist and other scripted improvements to systems in the future.

It's not really a problem with 5.2, just needs to be fixed in the next version, should be super easy to fix.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote