I'm trying to randomize a set of folders with GIFs inside of them, and every time the GIF reaches a certain frame/PNG, the randomizer should turn on again to switch to another gif, but the randomizer doesn't seem to trigger unless I refresh the skin entirely. Here is the code (I turned on DynamicVariables on all of them because I was unsure which one was at fault):
mak_kawa wrote: ↑December 1st, 2019, 2:04 am
IfCondition expression can be located only in measurers, not meters. Move it to [ImageNumberCalc] measure.
As mak_kawa said, the IfConditions don't make sense on meters, they have to be used on measures. But there are other issues as well.
A DynamicVariables=1 variable, declared into the [Variables] section doesn't make sense. Remove it.
When checking an IfCondition, section variables don't have to be used, especially that in this case [ImageNumberCalc] returns a number, so its equality with certain value can be checked even if you1re not using section variables (as you did on the IfCondition=[ImageNumberCalc]=43 option of the [ImageMeter] meter - this has to be moved to the [ImageNumberCalc] measure).
The #@# variable already has a backslash, so there is no need to add another one. However even if add one or more it still works, but technically it's not needed. I removed it from the ImageName option of the [ImageMeter] meter.