Display Changing Variable at Runtime
Posted: Thu Jun 15, 2023 1:24 am
Hello!
So I want to display a Dialogue System variable in one entry and make it changing randomly from 1 to 100 for each 0.1s, so that for every other 0.1s, a new random number is shown in place of the previous one. I tried to use playmaker to generate random floats and sync it to the variable in Dialogue System, but the dialogue text seems unable to change at runtime. Once the the text shows once, regardless that the playmaker is successfully generating random numbers, the variable shown doesn’t change. So I’m wondering how should I make it work?
So I want to display a Dialogue System variable in one entry and make it changing randomly from 1 to 100 for each 0.1s, so that for every other 0.1s, a new random number is shown in place of the previous one. I tried to use playmaker to generate random floats and sync it to the variable in Dialogue System, but the dialogue text seems unable to change at runtime. Once the the text shows once, regardless that the playmaker is successfully generating random numbers, the variable shown doesn’t change. So I’m wondering how should I make it work?