Graal Forums

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

MegaSizzler 08-15-2004 05:16 PM

Gani Probs
 
Why wont this work? I keep getting an error,
if (playerenters) {setani walk.gani} I have also tried giving it directions to walk such as 2. So pls help. It just wont work. Its also wierd that is is setani. Shouldnt it be set gani? :whatever:

VeX_RaT_Boy 08-15-2004 05:28 PM

setani sets the players ani;
NPC Code:
setani ANINAME_WITHOUT_.GANI,PARAMS;


In your case, just do this:
NPC Code:
 if (playerenters) {
setani walk,;
}


MegaSizzler 08-15-2004 05:30 PM

X.x. thx. I shoulda tried that

Lance 08-15-2004 06:36 PM

Quote:

Originally Posted by MegaSizzler
Its also wierd that is is setani. Shouldnt it be set gani? :whatever:

What's so weird about the name of command that sets the player's animation being named 'setani'?

VeX_RaT_Boy 08-15-2004 07:06 PM

Quote:

Originally Posted by MegaSizzler
Its also wierd that is is setani. Shouldnt it be set gani? :whatever:

GAni==Graal ANImation


All times are GMT +2. The time now is 05:57 AM.

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