Thread: onwall problems
View Single Post
  #1  
Old 04-14-2006, 03:00 AM
Moondeath_2 Moondeath_2 is offline
"..."
Moondeath_2's Avatar
Join Date: Jan 2006
Location: Far Far Away.
Posts: 238
Moondeath_2 is an unknown quantity at this point
Send a message via AIM to Moondeath_2 Send a message via MSN to Moondeath_2 Send a message via Yahoo to Moondeath_2
onwall problems

I noticed a while back there was a problem with onwall but I belived it was my script since then i've rescripted it at least 3-4 times any thing tring to check on wall thinks some carpet peices and grass are on wall.

NPC Code:
  if (!onwall(this.x+1.5+(vecx(this.dir)*0.1),this.y+2+  (vecy(this.dir)*0.1)))



An example of the onwall check in my baddy script it can't walk over any grass peices and alot of inside carpet peices for some odd reason even CheeToS tried helping me with it a while back and couldn't find a problem with the script so and I tested it on Zodiac and a couple other playerworlds it worked fine, i'm not sure what I should do about this.

The only world it doesn't work on is mine which is kudosai.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote