Play animation when NPC conversation node ends
Posted: Tue May 12, 2020 10:13 am
Hi. I'm having some issues with this.
I'm using an Animator component for my NPC that has a fade-in animation on Entry status. This is working fine and whenever the NPC conversation node starts, it has a fade-in animation played.
The problem comes with the fade-out animation. Since it looks like the NPC portrait is immediately disabled when its node ends (and player one starts) I don't know where to play the fade-out animation.
I've read somewhere that you can play sequences when the conversation ends, but can't seem to find it. This would be handy to use the sequence command to play the fade-out animation. The problem with that approach (if it's possible), is that i'd need to use a sequence command in all NPC nodes?
RIght now my workaround is assign NPC portraits to my Player actor and make it play the fade-out animation on Entry status (different animator controller), but this is not good because if there are more than 1 NPC it'd be a mess. Also some entries conversant is a Narrator so it wouldn't play.
Any help with this is appreaciated.
Thanks in advance
I'm using an Animator component for my NPC that has a fade-in animation on Entry status. This is working fine and whenever the NPC conversation node starts, it has a fade-in animation played.
The problem comes with the fade-out animation. Since it looks like the NPC portrait is immediately disabled when its node ends (and player one starts) I don't know where to play the fade-out animation.
I've read somewhere that you can play sequences when the conversation ends, but can't seem to find it. This would be handy to use the sequence command to play the fade-out animation. The problem with that approach (if it's possible), is that i'd need to use a sequence command in all NPC nodes?
RIght now my workaround is assign NPC portraits to my Player actor and make it play the fade-out animation on Entry status (different animator controller), but this is not good because if there are more than 1 NPC it'd be a mess. Also some entries conversant is a Narrator so it wouldn't play.
Any help with this is appreaciated.
Thanks in advance