Reseting Articy Flow Player state

Wed 7. Feb 2018, 13:55

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?
Xaon
 
Posts: 4
Joined: Tue 16. Jan 2018, 11:41

Re: Reseting Articy Flow Player state

Wed 7. Feb 2018, 15:17

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.
User avatar
[Articy] Christian Schildt
Articy Staff
Articy Staff
 
Posts: 62
Joined: Tue 16. Jan 2018, 17:03
Location: Bochum

Re: Reseting Articy Flow Player state

Wed 7. Feb 2018, 15:49

Hi Christian!

It works, thanks!
Xaon
 
Posts: 4
Joined: Tue 16. Jan 2018, 11:41

Return to articy:draft Unity Importer

Who is online

Users browsing this forum: No registered users and 72 guests

Who We Are
Contact Us
Social Links