Track when a sequence ends?
I mean, lets take this situaion by example:
I have an entity, that entity has a model, that model has sequences. I need to set that entity's sequence to 0, and after sequence 0 has ended, i must put sequence 3 (this is just a example). So i can't set sequence 3 right after sequence 0 ends just by doing this: Code:
entity_set_int(ent, EV_INT_sequence, 0)So, there's any way to track a sequence? I've already tried to get EV_FL_frame hoping it stores the actual sequence's frame the entity is in, but it never gets updated... I don't think setting a task with the time in seconds that the sequence has and setting the other sequence on the function called by the task is the right way... Anyone knows how to do that, if it's possible to do so? |
Re: Track when a sequence ends?
Sorry for the bump but i'm really needing this and this seems to be an interesting question :x
|
Re: Track when a sequence ends?
To start a sequence you must do this
PHP Code:
|
Re: Track when a sequence ends?
Sad to say, but EV_FL_frame is still not updated...
a part of the code (this is just a test plugin): PHP Code:
and it never gets out of 0.000000 i don't think there's any way to track the frames nor the sequence end :X |
| All times are GMT -4. The time now is 00:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.