Thread: Multitasking
View Single Post
  #5  
Old 10-29-2001, 09:31 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Thwarted again by my ignorance of the spiffy P2P commands! Darn!

I assume onmapx(level) and onmapy(level) returns the level's X and Y on the map? So onmapx(graalmap_a-1.nw) or whatever would return 1, and onmapy(graalmap_a-1.nw) would return 1, etc?

Of course, that part I can do anyway just with the level names, since G2K1 is so nicely arranged...it would only be the onwall(-384,-384) that I'd need to make this work really nicely! Otherwise I suppose I could just use an uninformed search strategy, have the player keep wandering in approximately the right direction.....
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote