![]() |
freezeani()
Just a small suggestion of freezeani(float)/freezecharani(float).
This will freeze the currently played gani in its current frame for the number of seconds(float). |
These would be an awesome feature, for example for spell effects like freeze!
Instead of making their gani idle you could freeze their ani and then display the freeze effect. I would also like a freezeani2()/unfreezeani() to freeze their ani until unfreezed with unfreezeani() I so support this idea! :O |
Hmm, I'm bumping this... 'cause I'd still love to see this implemented.
|
I know there's a way to change an ani to a specific frame but is there a way to detect what frame the player currently is at?
|
ganistep, and I'm pretty sure it's readonly(I've tested it prior to making this thread).
|
I also am still wanting ganistep to not be read-only!
|
You can set the individual ani step. o.O it was like setAni( "walk"[2], NULL); or something like that.
|
You can?
News to everyone but you I guess ;o Will have to try that. |
Quote:
|
We have a winner.
PHP Code:
|
Quote:
|
That makes absolutely no sense.
|
I was playing around with that a bit. After setting it to a certain frame you can just setani() with the same gani name and no frame and it will start at the set frame. Friggin useful :D
|
Quote:
|
After playing with it for a little while... I still think the syntax for it is... just retarded.
And I still think there should be a freezeani() because there are still problems with doing it this way, such as the gani not finishing. Not to mention it'd make a lot more sense and I don't think it'd be hard. |
PHP Code:
|
I already did that, like I said though, it's not exactly what I want as there are problems with doing that.
|
Quote:
|
The syntax isn't really retarded. It's a string and the function parses the string for you.
I agree that "gani"[i] would be retarded, yes. Because you generally can't get an array member of a string. |
Quote:
bah |
Quote:
|
| All times are GMT +2. The time now is 12:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.