How can I access dialogue entry field value from the dialogue choice buttons?
Posted: Sun Dec 27, 2020 7:26 pm
Hey Tony,
How can I access dialogue entry field value from the dialogue choice buttons?
I used this to access it from the node that is currently active like this:
But I need to access this "Sign" field from the choice buttons.
I made made class StandardUIResponseButtonCustom that extends from StandardUIResponseButton.
And I made CustomStart() function. Here I'd like to access it's node to get the field value.
Here's a screenshot with more info: https://prnt.sc/wayq8m
Thanks!
How can I access dialogue entry field value from the dialogue choice buttons?
I used this to access it from the node that is currently active like this:
Code: Select all
Field.LookupValue(subtitle.dialogueEntry.fields, "Sign")
I made made class StandardUIResponseButtonCustom that extends from StandardUIResponseButton.
And I made CustomStart() function. Here I'd like to access it's node to get the field value.
Here's a screenshot with more info: https://prnt.sc/wayq8m
Thanks!