Hi,
i'm trying to do this:
but as you can guess it doesn't work !
to control the value i do this (displays the right align value):
can anybody help ?
Thanks
Hi,
i'm trying to do this:
but as you can guess it doesn't work !
to control the value i do this (displays the right align value):
can anybody help ?
Thanks
try righttop without the '
== righttop,
etc
hope it helps
Tuur
Hi Turr,
i should have said that i had already tried that, and it doesn't work either, thanks anyway
Try ===
Hi sim42,
The get() for retrieve the variable to be checked inside the IF action is no needed...
So try this:
Also, note that if inside your plugin there is no plugin[button].y set then the value for y will be null...
Then, sub(plugin[introimage].y,10) will return NaN...
To see it try this:
So you have to set a value for the plugin[button].y...
edit: (added the folowing)
A way could be checking if y is null and, if so, setting a value:
if(plugin[button].align == righttop,
if(plugin[button].y === null,
set(plugin[button].y,0);
);
sub(plugin[button].y,10);
);
Welcome on board ...
SAlut.
thanks guys, it was apparently the get(plugin[button].align) wich didn't work, with just plugin[button].align it works
Don’t have an account yet? Register yourself now and be a part of our community!