Script properties and Presentation mode
Posted: Mon 27. Mar 2017, 17:08
I've added some 'Instruction' Script Properties into my Dialogue Fragment templates to update a global variable based on dialogue choices.
For e.g. TomMads.happinessIndex ++
When I step through it in Presentation Mode it doesn't seem to do anything though. If I put the same line onto the output pin of a Dialogue Fragment in the flow instead, it works fine.
Is this a valid application of a Script Property? Or am I missing a step?
For e.g. TomMads.happinessIndex ++
When I step through it in Presentation Mode it doesn't seem to do anything though. If I put the same line onto the output pin of a Dialogue Fragment in the flow instead, it works fine.
Is this a valid application of a Script Property? Or am I missing a step?