Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   help please (https://forums.graalonline.com/forums/showthread.php?t=21420)

WHIPENIE4 01-18-2002 09:41 AM

help please
 
[screen_name says:]

shouldn't this work on p2p (tested, but doesn't seem to work)
NPC Code:

with (getplayer(accountname)) {
if (strequals(#L,syghouse.graal)) {
say2 you are in syghouse.graal;
}
}




does anyone know why this isn't working??

lordhelmut 01-18-2002 09:51 AM

not sure how much help I am but I dont know what getplayer is (or even if its real). I think its #a, not accountname but im not sure either. Umm You should be able to do say2 You are in #L

LiquidIce00 01-18-2002 10:20 AM

should work .. should be server sided too rite?

WHIPENIE4 01-18-2002 08:03 PM

[screen_name says:]

i figured it out, i had a triggeraction that was calling the same scripting except without the strequals(#L,syghouse.graal)

Faheria_GP2 01-19-2002 01:22 AM

#L - NPC's current level
#F - Player's current level

But this should only apply when doing something like "with()"

grim_squeaker_x 01-19-2002 04:24 AM

Quote:

Originally posted by Faheria_GP2
#L - NPC's current level
#F - Player's current level

But this should only apply when doing something like "with()"

It can also be applicable in the case of the 'playerleaves' event.


All times are GMT +2. The time now is 07:47 AM.

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