Articy Forum


https://www.articy.com:443/forum/

Reseting Articy Flow Player state

https://www.articy.com:443/forum/viewtopic.php?f=46&t=18315

Page 1 of 1

Reseting Articy Flow Player state

Posted: Wed 7. Feb 2018, 13:55
by Xaon
Hi!

I have a dialogue line with branching based on conditions. I want the player to be able to revisit the dialogue line multiple times in one play. Setting ArticyFlowPlayer.startOn doesn't work as it doesn't reset CurrentPause. ArticyFlowPlayer.CurrentPause has only getter so I cannot reset it that way. How I can reset Articy Flow Player to initial playback state?

Re: Reseting Articy Flow Player state

Posted: Wed 7. Feb 2018, 15:17
by [Articy] Christian Schildt
Hi Xaon,

ArticyFlowPlayer.startOn is a field which is required to set the start node in the inspector, but as noticed in the documentation changing this field from code has no effect. I think what you need is the property ArticyFlowPlayer.StartOn. This property can be used to change the node runtime and it will update ArticyFlowPlayer.CurrentPause.

Re: Reseting Articy Flow Player state

Posted: Wed 7. Feb 2018, 15:49
by Xaon
Hi Christian!

It works, thanks!

All times are UTC
Page 1 of 1