Graal Forums

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

killerogue 07-02-2007 10:39 PM

Gani Time.
 
Is there a way to check if a gani is finished playing?

zokemon 07-02-2007 11:59 PM

You could use setbackto in the gani file to change it to something else.

Admins 07-03-2007 12:48 AM

Yes use setbackto or check for object.anistep (it will stay at object.ani.steps.size()-1 when being finished if its non-looped)

zokemon 07-03-2007 11:14 AM

player.ani.anistep
player.ani.steps.size()
findani("walk").ani.anistep
findani("walk").ani.steps.size()
To be more specific.

killerogue 07-03-2007 03:34 PM

Mmm, thanks Zero. I suppose I need to read the wiki a bit more. :o


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

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