The irregularity of the heartbeat is of less importance than the actual length of the animation. If an animation is more or less than 6 seconds long, then you may notice a skip in the animation as it starts up again from the beginning. The reason for using the heartbeat for the animation is that if something interrupts the animation playing, then it'll just stop unless something starts it up again, like the heartbeat.
To prevent a noticeable skip, you can check the length of the animation in the animation viewer plugin, and either adjust the playing speed of the animation in the PlayCustomAnimation command (which has a parameter for the playback speed) so that it's a multiple of 6 seconds, or change the duration of the heartbeat for that creature with SetCustomHeartbeat to match the length of the animation.





Retour en haut






