I have a Market stall NPC and i want it to pick a randon Anim from a set and play it and when it finishes pick another. Currently I have a function on the Charactor Actor and set a varible to a random INT(Figure 1), and a state machine that chooses a anim based on the randon INT(figure 2). I dont think this is scaleable and not the most efficent way of doing this. Also because the Anims are diffrent length the state machine sometimes switches anims in the middle of the current anim.
any help or a point in the right direction would be appericated.