In the NPC component you can set a characters default **idle **and **talk **names - so when a "return ot idle" or "dialogue" action is used these animation clips get automatically tieggered (without having to run an extra "animate character" action.
Is there a way to change these default text strings at runtime?
I have some NPC's who start wearing masks, so have talk and idel animations with the masks on.
Once they remove them they then have talk and idle animations with the masks off, so I'd like to be able to swap the default otherwsie I'll need to do lots of manual talk animation triggers, each time they speak a line of dialogue.
Hope this makes sense?
Thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Yes, this can be done with the Character: Animate Action's Set Standard method.
You'll need to use a separate Action instance for each animation type (Idle, Talk etc), but with this you can change the animation names, and such changes will also be stored in save-game files provided the NPCs have a Remember NPC component.
PERFECT! - that's a huge relief! - thanks so much for the clarification