Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   Frame 2... (https://forums.graalonline.com/forums/showthread.php?t=57323)

Aethorpe 01-26-2005 04:07 PM

Frame 2...
 
I made a gani for walking with new sprites, and then I did;
NPC Code:
 if (created) {
replaceani walk,ae_walk;
}


and when I hit play, it shows the first frame, my guy moves around, and it never gets to the second frame of the gani.

but when I do;

NPC Code:
 if (created) {
replaceani idle,ae_idle;
replaceani walk,ae_walk;
}



My guy "walks" when I am standing still. :x


Edit: I fixed it. :o I forgot Loop and Continuous. >_<

Admins 02-02-2005 08:43 PM

Yes if you don't set CONTINUOUS then the gani is restarted each time the game/a script is calling setani/setcharani

Fogles 02-25-2005 07:54 AM

you need timeouts etc..

//#CLIENTSIDE
if (weaponfired) {
freezeplayer 0.5;
replaceani walks,<ani>;
sleep 2;
timeout = 0.5;
}

Evil_Trunks 02-25-2005 08:08 AM

Quote:

Originally Posted by Fogles
you need timeouts etc..

//#CLIENTSIDE
if (weaponfired) {
freezeplayer 0.5;
replaceani walks,<ani>;
sleep 2;
timeout = 0.5;
}

your example made no sense, because in fact you do not need timeouts, freezing, and sleeps combined in an awkward jumble

Fogles 02-25-2005 04:59 PM

x.x, lol i know, i slept lastnight and i know i posted the wrong thing, he was asking something else it was a "Walking Gani" SORRY>.<


All times are GMT +2. The time now is 06:16 AM.

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