Closed coppolaemilio closed 2 years ago
Pretty easy fix using the DialogicUtil class to check if a character exists. The event part is hidden fine and reappears when you add a character properly. Only real question would be should we have a message about adding a character up there rather than just having it be blank?
it could be interesting to add, but not sure if it would add much to the plugin tbh. If you want to add a character I feel like the character folder is right there for you to add. My main issue is: imagine someone is using dialogic but doesn't want to deal with characters: why should they see the prompt of "create a character! click here!" on every text event 🤔
Maybe on the only place that this should happen is in the "character join" event. Where if no characters exists it will prompt you to create one!
Not going to try to figure out what this does...
But I wonder if we may not need it now. Added your idea to Character Join and Character Leave
EDIT: I didn't like the wording. Changed it to "You haven't created a character yet."
that's great, can you add maybe a button that would create a character as well?
Seems reasonable. I'll see how well it flows.
Thanks! you can also probably replace the get_node('../../.././././././....././././.') or whatever with a find_parent 🤣
I think the whole .../........../.. is most easily solved by not having Character Leave and Text Event share an Event Part. They seem to have different wants, but that's out of scope for this at the moment.
The button thing works better than I'd have thought! Only real question is if 'flat button' is better than regular button. Below 'Join' is flat, 'Leave' is an adjusted.
I would do:
You haven't created a character yet. Click [here]
to create one.
mmm ya that looks better. Will send the pull request up for a once over.
Kinda weird to see it there if there are no options to select.