Talking animation loop (Mecanim)
Re: Talking animation loop (Mecanim)
Thanks Tony
Re: Talking animation loop (Mecanim)
You're welcome!
Re: Talking animation loop (Mecanim)
So I used the method you've shown me. It works fine but when I save and load the point where the background image changes it doesn't load and rather it would load the previous picture. How do I fix it? I am using the Visual Novel Framework.
Re: Talking animation loop (Mecanim)
Hi,
Always the previous picture? Is it possible that the variable isn't set to the correct value?
When you load a game, the Console will show output like this:
Do you see an entry for your variable (e.g., "BackgroundImage")? If so, is the value correct?
Please feel free to send your project to tony (at) pixelcrushers.com. I'll be happy to take a look and provide a solution.
Always the previous picture? Is it possible that the variable isn't set to the correct value?
When you load a game, the Console will show output like this:
Code: Select all
Dialogue System: Lua(Variable["Alert"]=""; Variable["Actor"]="Player"; Variable["Conversant"]="Girl"; Variable["CurrentConversationID"]=1; Variable["CurrentEntryID"]=4; Variable["CurrentConversationActor"]="Player"; Variable["CurrentConversationConversant"]=""; ...
Please feel free to send your project to tony (at) pixelcrushers.com. I'll be happy to take a look and provide a solution.
Re: Talking animation loop (Mecanim)
I have an Idea and it might just work, how about I have 2 cameras with different backgrounds each and use SwitchCamera(). How do I save the active camera?
Re: Talking animation loop (Mecanim)
I'm afraid it's the same thing. You still use Persistent Active Data.