So.. I'm at this point again and indeed i am thinking of setting the width to the % of progress.
Now i need the right line to reach this.
I am not getting my code to work.
What i need to do is:
Current progress amount / amount of total levels * 100
So lets say if i got 144 levels and i'm at level 27 it would be:
27/144*100 = 18.75%
Than i set the width of my object to the percentage which in this case would be 18(.75)%
Now as action i use:
On start of layout : Set global value
Than i got this problem where my code doens't want to work..
I need to do the math in one line with 2 global variables.. I just dont now how to get my line working.
What it has to be:
GlobalVariable1 "dividing by" GlobalVariable2 "times" 100
Can any one tell me how to get that line to work in my Set value as action?
Also my set width would not work with: 20%, 12% etc..?
Thanks in advance!