Alright, so I usually seem to be competent with blueprint for the most part, but I’m kinda stumped with this. (Also, I have close to zero experience with UMG and am having trouble understanding some of the guides.)
Basically: I have a simple dialogue system for my NPCs, and the dialogue is currently output to the log without any UI. Essentially what I’m trying to do is re-create the dialogue system from UNDERTALE, to give you an idea of how it functions.
Example:
Unfortunately, I can’t even seem to figure out the simple task of accessing the UMG widget’s variables from inside my NPC blueprint (so I can change the dialogue box’s text), let alone the actual design and layout of this thing in the UMG designer. If anybody would be able to point me in the right direction or give me some tips here, that would be great.
[HR][/HR]
While just the basics would help me get a good starting point, here’s the list of requirements I would hopefully like to figure out for the final dialogue system (listed in order of highest to lowest priority):
-
String from NPC blueprint is displayed one character at a time, playing a sound file with each character.
-
The ability to answer certain dialogue prompts with a pointer and arrow keys which would send a value back to the NPC to decide which dialogue path to continue on.
-
The ability to pause at certain words and delay the rest of the message. (Example: The message “Hello! [0.5s delay] How are you doing?” displays automatically in a single text box.)
-
Animated character portrait on the left side. (Does UMG support gifs? Should it just be two frames [mouth open/closed] switched back and forth programmatically?)
I feel like if somebody can help me get started on this thing, I should be able to figure out a lot of these things on my own. Thanks to anyone who can help out!