So, when promoted for a response, I want to set the options via a list in a script.
The idea is that every time you are prompted for this response, the options will be whatever happens to be in that list at the time.
Say the list is
Code: Select all
public List<string> AvailableResponses = new List<string>();
Code: Select all
[lua(AvailableResponses [0])]
HOWEVER, I would also like to create the responses to match the size of the list. Say there are 4 items in the list - maybe upon being prompted to input your response, it would generate via script 4 possible responses based on the items of that list. Or maybe it just has some blank entries ready and if you don't fill them all up it omits them?
My question is - how do I get these scripts talking to the dialogue? Or maybe my question is - is there a better way to go about this? Or a healthy compromise?
Thanks