View Single Post
  #10  
Old 03-26-2006, 09:12 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by jake13jake
2. mapx(level.name) is the worst I've seen from you.
Stil not worse than a nickname system taking up 60% of the CPU.

Quote:
Originally Posted by jake13jake
First of all, it's player.level.
Actually, it wouldn't be player.level. From what it sounds like he is using showani() or similiar to do it. If anything: it would be this.level.name (this.level also works, but only because .name is the default member, or whatever.) And you do not have to put this. to reference variables like that. (unless you are in a with() statement)

Quote:
Originally Posted by jake13jake
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.
I said 'or whatever', I know there is a function that gets the x position on the gmap with given the level name, but I couldn't remember what it was called off the top of my head.

Quote:
Originally Posted by jake13jake
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.
See above.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote