Spawning Enemy with specific animation
Im trying to spawn enemies on the level when the player gets close enough. Something similar to a zombie crawling out of the ground or a bird swooping down from above. I create the animation in Maya, just pull all the bones under a ground plane and animate it crawling out of the ground, ending with it standing in idle.
The problem I'm having is that when the enemy is spawned, it is in a basic idle pose for a few frames before it plays its special "introduction" animation. I'd like to know how to get it to spawn already in said animation so it doesnt flash on screen when its spawned for a few frames.
asked Apr 30 '19 at 09:18 PM in Blueprint Scripting
This is an easy fix.
Just make sure that if you're using an Anim Blueprint, make sure it's set to NONE. (Yes I meant NONE).
That way, when the unit is spawned it will only play the animation you tell it to. Then when that animation is completed, you set the unit to use the Anim Blueprint.
I believe you drag your unit to the graph, then drag off the blue pin and type "anim instance" you can either get, or set it. That's how you set it.
answered May 01 '19 at 08:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here