#Linking the value of a progress bar to the value of a variable

8 messages · Page 1 of 1 (latest)

sand nova
#

That only sets the value of the bar once. If the value goes down, the bar's value has to be updated again. Where in your script are you assigning the value to the bar?

little lagoon
#

when the scene changes to the current scene

sand nova
#

Then if the value changes you have to update it again

little lagoon
#

oh

#

it works now

#

how do i get the persentage to be the value of the variable instead? instead of 60% it'll be 6

sand nova
#

What do you mean? 60% of anything is it's value multiplied by 0.6

little lagoon
#

well the value starts at 10 but goes down by whole numbers and instead of it being a persentage it'll just be the value of the variable