Hi! I have my character doing the punch loop animation, I then pause for 2 while he loops and then a window breaks.
For some reason he only punches once then stands still for the rest of the pause, is there a way I can get him to actually loop the animation during that pause?
I’ve tried it as
&ELIJAH is punch_fight_give_angry_loop @pause for 2
and @ELIJAH is punch_fight_give_angry_loop @pause for 2
When I first preview it, he loops but then when I rewatch it he doesnt. I tried it on the app too reading through the whole episode and he wasn’t punching on loop there either.
And there’s no need to re-type looping animations… you just need to pause for the correct amount of time.
Therefore if you want Elijah to punch three times, the code would be:
&ELIJAH is punch_fight_give_angry_loop @pause for 3
&ELIJAH is idle_armscrossed_angry_loop [<< This animation is just used as an example. But you can just enter whatever animation you want him to do, after the punching.]
Of course, you can add however many punches you want him to do… so if you want him to punch 4 times… you need to pause it for 4 seconds, and so on.
Also… the reason he skips the breathing, is because that animation is 2.5 seconds long, and you only paused for 1 second.
Haha, I’m just used to it by now. We basically learn through trail and error.
When I was new to coding… I used to just guess the pauses, sometimes I made a lucky guess and got them right… other times they were wrong and I’d have to add or subtract 0.5 or 1 second.
@Rubae_Epi
Bare in mind that if it still fails, despite the coding being correct… then the error must be caused by the animation prior to it.
For example: If Elijah walks over to the person he punches, before actually punching him [rather than already being in position] then it’s possible that you haven’t paused for long enough.
In the past my characters had a tendency to idle, if I did the code like this:
&CHARACTER walks to spot 1.000 123 123 in zone 2 in 2 AND CHARACTER does it while walk_neutral @pause for 2
&CHARACTER is punch_fight_give_angry_loop @pause for 3
Because for some reason, it likes the pause to be longer than necessary… so I used to add the extra @pause for 0.01 [I have no idea why it does that, it must just be an Episode issue. ]
But… there’s never a problem, when I code it like this:
&CHARACTER walks to spot 1.000 123 123 in zone 2 in 2 AND CHARACTER does it while walk_neutral THEN CHARACTER is punch_fight_give_angry_loop @pause for 5
The pause for 5, covers both the walking… and the three punches.