
04-18-2006, 12:17 AM
|
|
Psionic Youth
|
 |
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
|
|
|
Or onwall2(x,y,bitflag), or integer onwall2(x,y)=bitflag for on wall, on land, on throwthrough, on water, on shallow water, on chair, on bed, on lava, on shallow lava, +8=on player, +16=on NPC...
The "simple" solution in the meantime is to make a string for all the onwall tiles (It's easy!...if you make an NPC do it for you...), then check if the tile at that location is in that list...but yeah, Stefan coding something is always more efficient than my workarounds. :-P |
__________________
"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
|
|
|
|