So I'm stuck big time, and I don't know what the solution could be... I feel like I tried everything, and I can't see where the problem is.
So I created a variable that I want to increment.
Then I want a text to display my incremented variable on the screen.
The text part works fine when I don't increment anything and when I just change the variable. But when I try to add + 1 to my variable, it always shows 0... Here's my code :
Code: Select all
[Variables]
BgTransf=0
[MeasureTransformMBG]
Measure=Plugin
Plugin=ActionTimer
ActionList1=AddOne | Wait 1000 | UnveilDock
UnveilDock=[!SetOption MeterText1 Text #*BgTransf*#][!UpdateMeter MeterText1][!Redraw]
AddOne=[!SetVariable BgTransf (#BgTransf# + 1)]
[MeterText1]
Meter=String
X=0
Y=0
FontColor=197,239,252,255
FontSize=12
Text=test
DynamicVariables=1