SetPortrait Skipping Dialogue Entry?
Posted: Tue Nov 10, 2020 5:46 pm
Hey there
I'm trying to set one of my actor's portraits so I can use different emotions throughout the conversation.
In the sequence section of the Dialogue Entry, I have
Technically, May is already at pic 1, but I have been having this issue for a bit and wanted to make sure it wasn't an IndexOutOfBounds issue.
Anyway, when I get to that Entry in the conversation, it gets skipped entirely. It just never shows up, and the next one appears instead.
I don't get any errors or warnings in the console. I have all of my character portraits in my Assets/Resources folder, as I saw that note on another post having issues with this function. I also tried putting "required" in front of the function call, but that didn't change anything.
Any ideas on what I've got wrong?
I'm trying to set one of my actor's portraits so I can use different emotions throughout the conversation.
In the sequence section of the Dialogue Entry, I have
Code: Select all
SetPortrait(May,pic=1)
Anyway, when I get to that Entry in the conversation, it gets skipped entirely. It just never shows up, and the next one appears instead.
I don't get any errors or warnings in the console. I have all of my character portraits in my Assets/Resources folder, as I saw that note on another post having issues with this function. I also tried putting "required" in front of the function call, but that didn't change anything.
Any ideas on what I've got wrong?