I'd like to know how to make the Progress Bar a shot-power gauge/bar.
In example, if the Minimum = 0, and Maximum = 100,
when the Progress Bar's value comes to 100, it will decrease again to 0,
the progress bar will stop when a button is clicked.
i have a code like this, but the powerbar's value stops at 90 or something,
Power_Tick //ProgressBar's Name
PowerBar.Step = 5
PowerBar.Value += 5
If PowerBar.Value >= PowerBar.Maximum Then
PowerBar.Value -= 5
ElseIf PowerBar.Value <= PowerBar.Minimum Then
PowerBar.Value += 5
End If
In example, if the Minimum = 0, and Maximum = 100,
when the Progress Bar's value comes to 100, it will decrease again to 0,
the progress bar will stop when a button is clicked.
i have a code like this, but the powerbar's value stops at 90 or something,
Power_Tick //ProgressBar's Name
PowerBar.Step = 5
PowerBar.Value += 5
If PowerBar.Value >= PowerBar.Maximum Then
PowerBar.Value -= 5
ElseIf PowerBar.Value <= PowerBar.Minimum Then
PowerBar.Value += 5
End If