Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Gani Detection (https://forums.graalonline.com/forums/showthread.php?t=34859)

Aestus 08-02-2002 03:04 AM

Gani Detection
 
Is there any way to detect the player's current gani? I'm trying to do a simple little thing for my playerhouse, but I can't find a way to know when the player is pulling the NPC. :-\

Poogle 08-02-2002 11:05 AM

if (strequals(#w,GANI)) {
The **** you want it to do;
}

Python523 08-02-2002 12:42 PM

Quote:

Originally posted by Poogle
if (strequals(#w,GANI)) {
The **** you want it to do;
}

#m.....

Poogle 08-03-2002 04:18 AM

Quote:

Originally posted by Python523

#m.....

oh yeah i knew it was one of those

emortylone 08-03-2002 07:54 AM

Acually you can still use if (playersprite==so and so)
because when you make ganis you can set it to a sprite number, and all the main ganis like pull, and sword, and walk, are set to there original sprites.
I'm not sure if that increases lag or whatnot, or if NPC Servers allow it.

Python523 08-03-2002 09:07 AM

eww...playersprites :x

CrimsonLotus9838 08-06-2002 11:28 AM

Quote:

eww...playersprites :x
Playersprites was what every1 had to deal with before the release of "GraalShop Pro," and personally I'm more comfortable with sprites (same with the "dirgo" array instead of vecx/vecy).

Torankusu 08-06-2002 11:48 AM

Ganis are so much easier to deal with than playersprites, because it opens a new variety of "sprites." Like, the Graal2001 bodies, however ugly they may be.


All times are GMT +2. The time now is 03:26 AM.

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