![]() |
SetAni()/SetCharAni()
They should have a built-in function that stops gani's from being set if the the new gani == current/old gani. For example, if my player's current gani is walk.gani, and I use setAni("walk",null), it shouldn't set the gani at all.
I might not have thought too much into this, but right now I can't see where you'd want to loop the same gani(as ganis have built-in loop functions), and all it does is force me to constantly script checks to make sure scripts aren't looping ganis not intended to be looped. |
I usually make a proxy function that goes something like this
PHP Code:
|
| All times are GMT +2. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.