Hi i new here. i have quick question. i was experimenting like OP said with my own lua ideas. it all going well and includes a couple animations in my experiment for potential mod.
how do i make one animation action play after after the previous one finishes? i undersatnd the difference between actions and states. to start what i was trying was something like this with a set delay and approximating the time.
Code:
action_play_do(LOCAL_PLAYER, "stand_to_fiaj_reacta")
delay( 5.0 )
action_play_do(LOCAL_PLAYER, "fiaj_reacta")
this is just example, but approximating time is very much not how i want to do. i can also do set animation state for any animation in my anim set actually, and it will repeat until delay is finished then move to the next. however this is dirty and just not the right way i'm sure. how do i make one animation play & the next one start from the ending of the previous one? i even know exactly how many frames the animation is if there's any way to set a delay in frames and not seconds. i just dont know the command. i don't know what to type to tell the game to play one animation, then as soon as its done playing, play the next one. thank you for your time, and this mod is very very neat.