Raised This Month: $ Target: $400
 0% 

Track when a sequence ends?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
alexx109
Junior Member
Join Date: Jun 2010
Location: Brazil
Old 07-22-2010 , 23:18   Track when a sequence ends?
Reply With Quote #1

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)
entity_set_int(ent, EV_INT_sequence, 3)
obviously don't works...
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?
alexx109 is offline
 



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode