The animator on the portrait image works and will animate, but will not change with any sequencer commands. I followed a different forum post and used the Dialogue manager's default sequence to type in AnimatorPlay(Talking, speakerportrait); AnimatorPlay(Idle, speakerportrait)@{{end}} but was returning errors about not being able to switch states, but after trying to replicate it for a screenshot it returns no errors and does nothing. I then tried having it use animator triggers to switch states with AnimatorTrigger(istalking); AnimatorTrigger(stoptalking)@{{end}}
It will show that it is triggering a state change for the first one but not the second one but it won't actually change states and will only animate whichever one is the default state. I have a hard time understanding C# and regular coding so I normally use visual scripting. I just want to have the NPC animate talking at the start of each NPC dialogue node, and then switch to an idle state after each NPC dialogue node.
Animated sprite sequencing problems
-
- Posts: 9
- Joined: Fri Apr 21, 2023 4:11 pm
Re: Animated sprite sequencing problems
OK so now it's working and I don't know why because it wasn't working earlier with the same commands.
I still don't entirely understand how the sequencing commands work and I can't seem to find where they are explained.
Also I realize that you guys are probably very busy very often, but it would be nice to have a video that goes deeper into how the animated sprites work and how they interact with the sequencers and how to set up the animators correctly.
I still don't entirely understand how the sequencing commands work and I can't seem to find where they are explained.
Also I realize that you guys are probably very busy very often, but it would be nice to have a video that goes deeper into how the animated sprites work and how they interact with the sequencers and how to set up the animators correctly.
Re: Animated sprite sequencing problems
The next Dialogue System video tutorial will be on animated portraits. I'll try to have it out by the end of next week.
-
- Posts: 9
- Joined: Fri Apr 21, 2023 4:11 pm
Re: Animated sprite sequencing problems
Oh wow that's nice. Also sorry if I came across frustrated that was not my intent
Re: Animated sprite sequencing problems
No worries -- animated portraits are a pain point for a lot of people, which is why I'm prioritizing it as the next video.
Re: Animated sprite sequencing problems
The video's up: