Best Practice for feeding text into the dialogue box
Posted: Sun Mar 14, 2021 5:54 am
Howdy,
I want to create a system where:
1) Dialogue plays, you hit next next next, then it asks you to make a choice.
2) This choice happens in a different UI outside of the dialogue box (DSFU doesn't know about it).
3) Then the result of that choice has it's own logic and dice rolls and etc then feeds the result back into the dialogue box.
So this wouldn't be telling the DSFU to select a node and play that text, it just simply just outputs the result of what happened in the dialogue box, probably a constructed string sent from a script.
Eventually, an event will tell the DSFU to pick up at a dialogue node (would it have to start a new conversation? Or can you use an outside script to specify a specific node to start from?).
My main question is - what would be a best practice for allowing an outside script to feed in text to the dialogue?
And then an advanced version of that - could a defined Actor in the database be saying those resulting messages?
Ex:
NARRATOR:
You received a wound: Sprained Ankle.
You lost 5 stamina.
Thanks for any advice
I want to create a system where:
1) Dialogue plays, you hit next next next, then it asks you to make a choice.
2) This choice happens in a different UI outside of the dialogue box (DSFU doesn't know about it).
3) Then the result of that choice has it's own logic and dice rolls and etc then feeds the result back into the dialogue box.
So this wouldn't be telling the DSFU to select a node and play that text, it just simply just outputs the result of what happened in the dialogue box, probably a constructed string sent from a script.
Eventually, an event will tell the DSFU to pick up at a dialogue node (would it have to start a new conversation? Or can you use an outside script to specify a specific node to start from?).
My main question is - what would be a best practice for allowing an outside script to feed in text to the dialogue?
And then an advanced version of that - could a defined Actor in the database be saying those resulting messages?
Ex:
NARRATOR:
You received a wound: Sprained Ankle.
You lost 5 stamina.
Thanks for any advice