Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   BIG NPC Bug (https://forums.graalonline.com/forums/showthread.php?t=22147)

LiquidIce00 01-26-2002 09:46 PM

BIG NPC Bug
 
I have noticed that there are some weird npc bugs.
I dont know exactly but here is an example..

there was a door
if (playertouchsme) {
setlevel bla.graal,30,30;
}
when you tried to warp back to the level in which the door was in from bla.graal, it would warp you back into bla.graal, thinking that you are still touching the door.
I even tried playerchats instead of playertouchsme and it still happened.
So I guess when you change levels from a npc its not unsetting the action flag..

Kadar 01-27-2002 11:24 AM

if (playertouchsme&&playerdir==0){
setlevel level.nw;
}

???

LiquidIce00 01-28-2002 03:50 AM

Quote:

Originally posted by Kadar
if (playertouchsme&&playerdir==0){
setlevel level.nw;
}

???

if u do this

you have a door that has
if (playerchats&&strequals(#c,enter)) {
setlevel bla.graal,30,30;
}

ok?

now u warp into bla.graal fine..
then if u walk back to the level u were in .. it warps u back to bla.graal as if u are still chatting or still touching it

Admins 01-28-2002 04:06 AM

Yes the actions are not deleted when the npc
does setlevel/setlevel2, will be fixed in v2.13 revision3

LiquidIce00 01-28-2002 06:40 AM

Quote:

Originally posted by Stefan
Yes the actions are not deleted when the npc
does setlevel/setlevel2, will be fixed in v2.13 revision3

didnt u remove setlevel or something ?


All times are GMT +2. The time now is 08:46 AM.

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