Considering the following Yarn branch…
I would like to evaluate the parameter passed with the command in order to build 2 events like this…
If command = speakerTag and parameter 1 = frodo, do action A
If command = speakerTag and parameter 1 = trevor, do action B
I know that I can use the “Command is Called” condition to check if the Yarn command is equal to “speakerTag”
But how would I create a condition to also evaluate the value of the first parameter (frodo or trevor)?
I’m assuming I need to expand the Command is Called condition to also evaluate the value of DialogueTree::CommandParameter(0), but am unsure how to build the syntax in the condition.
Any help is appreciated. Thanks.