View Single Post
  #9  
Old 03-26-2006, 06:09 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by ApothiX
Have you tried something like: x+(64*mapx(level.name)) or whatever?
1. Coordinates belonging to players, npcs, etc. on a gmap are accurate to the gmap.
2. mapx(level.name) is the worst I've seen from you. First of all, it's player.level. Second of all, mapx takes two parameters. Third of all, mapx is not for finding a level's coordinate on a map, but instead to convert screen coordinates to level coordinates.
3. There are functions for getting a level's coordinates on a map, but you shouldn't need it. Try outputting x,y vars in player.chat or npc.chat to verify #1.
Reply With Quote