ms310 wrote: ↑December 17th, 2019, 12:31 am
The text "Conditions" or "#Conditions#" does not exist ANYWHERE in any of the files. Is Substitute line, in this case, actually doing something?
Conditions in this case is a variable. A variable has a name (in this case
Conditions), but if you want to use that variable anywhere you're referencing to it as
#Conditions#. To can be used into the mentioned measure, it indeed should be declared into the [Variables] section, either into the skins .ini file itself, or into an included file (read mak_kawa's reply above). In many cases you can't figure out easily where the variable is declared, so if you want to assure it can be used, you should add a String meter to the code, which should show the variable, something like this:
Code: Select all
[MeterSubstitute]
Meter=STRING
X=0
Y=0
Padding=15,5,15,5
FontColor=220,220,220
FontEffectColor=0,0,0
StringEffect=Shadow
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=#Conditions#
DynamicVariables=1
(add this meter to the end of your code, after the [SettingsIcon] meter).
In the upper left corner of your skin, should be shown either the effective value of the variable (if it is properly declared somewhere), or
#Conditions# (if it is not declared, or not properly declared).
In this case the second case is going on, so you see
#Conditions#, instead of the current value of the variable, which means it's not declared, so practically it's useless.