Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 04-14-2006, 03:15 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
Aw, that's too bad onwalls really don't I tried using the graaleditor.exe's baddy character NPC even it can't walk it just spins it's direction around.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote
  #3  
Old 04-14-2006, 03:16 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
If this is serverside, and you are using new type tilesets, make sure you enable the server options for the new tileset type.
Reply With Quote
  #4  
Old 04-14-2006, 03:22 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
Hah thanks riot, It was newtilesets=true and we arent using it I disabled now it works perfectly fine.
__________________
Aim: DarkFireXZ3
Email: [email protected] or [email protected]
Common Location: Unholy Nation
Gscript, Playerworld Rules, Support Center
Reply With Quote
Reply


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 11:16 PM.


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