Loading....

Consequences

To add a consequence to a player’s dialogue option, create a new actor based on BP_Base_ConsequenceScrip tand override the function called “Run Script” inside of your new actor. Put the code of your consequence, for example locking a door, enabling another conversation etc. to this function. Since you don’t need this actor after the function has been called, don’t forget to destroy the actor at the end of the function. This will allow you to create whatever consequence you need. To add a consequence script to a dialogue option, add a reference to your consequence class to the option structure inside the players dialogue data table. Please have a look at the example conversation and BP_ExampleConsequenceScript as reference.

29. January 2022  Third Person Story Adventure Template
Total 3 Votes:

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Add A Knowledge Base Question !

You will receive an email when your question will be answered.

+ = Verify Human or Spambot ?

Back To Top

Add A Knowledge Base Question !

You will receive an email when your question will be answered.

+ = Verify Human or Spambot ?