Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-26-2005, 04:07 PM
Aethorpe Aethorpe is offline
Their black hands protect
Aethorpe's Avatar
Join Date: Dec 2004
Location: Beyond infinite.
Posts: 265
Aethorpe is on a distinguished road
Send a message via AIM to Aethorpe Send a message via MSN to Aethorpe
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.
__________________
Reply With Quote
  #2  
Old 02-02-2005, 08:43 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes if you don't set CONTINUOUS then the gani is restarted each time the game/a script is calling setani/setcharani
Reply With Quote
  #3  
Old 02-25-2005, 07:54 AM
Fogles Fogles is offline
Join Date: Jan 2005
Location: Niger
Posts: 271
Fogles is on a distinguished road
Send a message via AIM to Fogles
you need timeouts etc..

//#CLIENTSIDE
if (weaponfired) {
freezeplayer 0.5;
replaceani walks,<ani>;
sleep 2;
timeout = 0.5;
}
Reply With Quote
  #4  
Old 02-25-2005, 08:08 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
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
__________________

Reply With Quote
  #5  
Old 02-25-2005, 04:59 PM
Fogles Fogles is offline
Join Date: Jan 2005
Location: Niger
Posts: 271
Fogles is on a distinguished road
Send a message via AIM to Fogles
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>.<
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


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


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