x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Help set up dialogue system via macros.

In my game character should be ably to use some screens on the level to make plot-important dialogue tree chat conversations. I think I envisioned useful enough chat system that will use macros-based event flow from pressing answer buttons on the screen (The screen is a world-placed widget). At least it functions like I want it to. So I here come to a conundrum. With this setup, I cannot manage to create true branching dialogue: 27ea75bb1ace13ddb6d9667e32eb03f5.png System works quite simple: each macro adds a message on screen, and it also can branch to trigger some effect that should accompany that message. usually, a set of answers. Those answers are buttons in UMG, which can be pressed. That sends their name var, used to pull the actual text of the button from the string table, to a generic "got response" custom event, which then funnels call towards appropriate custom event of the chat system, which continues the conversation. alt text As you can see, it have potential to become really ugly really fast. as if that was not enough, I need to reprint the name of the phrase into switch node, which raises potential for mistakes. Ideally the graph should continue further simply out of the appropriate DisplayResponse macros. but I don't know how to solve it via macros, since the entire thing must wait for the player's response before continuing on chosen path, and I don't know how to relay button press event from UMG directly into a specific instance of a macros. Any suggestions please?

Product Version: UE 4.21
Tags:
more ▼

asked Jun 02 '19 at 01:31 AM in Blueprint Scripting

avatar image

Darth Biomech
15 3 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question