Good Day,
Here is my struct from a system by TriggerHappy :
i want to create a bar for each player, so is there a way to create 12 of ProgressBars, which are accesible by an index ??
Here is my struct from a system by TriggerHappy :
JASS:
struct ProgressBar
unit bar
unit target
real xOffset = 0
real yOffset = 0
timer timer
timer timer2
private boolean t_enabled = false
private real endVal
private real curVal=0
private real pspeed=0
private boolean reverse
private boolean done
private boolean recycle
readonly static unit array dummy
readonly static integer lastDummyIndex = -1
method operator x= takes real x returns nothing
call SetUnitX(this.bar, x)
endmethod
... etc etc
i want to create a bar for each player, so is there a way to create 12 of ProgressBars, which are accesible by an index ??