I downloaded the Zombie pose pack and i want to set it up so that when the zombie is killed, it will randomly choose between the two death animations. I feel like what im trying to do should be really simple but i cant quite figure it out. Heres a picture of what im trying
I have only done this with flipbooks(2d) but maybe you can try a “switch on int” with the random integer range. Maybe someone else might have a better idea, but this is what I have done in the past.
i tried this, the problem is the output needs to be a type animnode (the kind in the shape of the littler person). most of the functions dont output that type so i cant really figure out how to use any of them
I know this is an old post but I did this and it worked for me. Not sure if this is fully answering the question BUT, I created a bunch of animation Montages based on Death animations. I wanted each death to be unique so I made a variable made it an array and called it Death Montage and set it to Anim Montage. I then added all the death anim montages into the array. I then told it to Get the array and grab a random integer and pumped the get into the Play Anim Montage. Now when I kill a bad guy they die 1 of 6 ways.
I hope this help anyone having trouble with this.