Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.