is it possible to define a value in one plugin and use than this value in other plugins, something like:
(this cant work, i know, but how could such be achieved to work...)
<plugin name="vars" scale="0.9"; />
<plugin name="soundON" scale="get(plugin[vars].scale)"; />
<plugin name="soundOFF" scale="get(plugin[vars].scale)"; />
thanks,
Liebe Gruesse,
Georg
is it possible to define a variable in plugin 1 and use this variable/value than in another plugin 2?
-
-
-
perfect! many thanks... its a long learning curve to climb
Georg -
Hi!Some additional info
You can use your own tag name for variables set
fro example
<settings name="blabla" value1="1" value2="2" />
using
get(settings[blabla].value1);Regards
Andrey -
-
the game - who will say more
Well, you can use inculded tags
<plugin name="p1" ... >
<someP1child name="pc1" ... value="bla" />
<someP1child name="pc2" ... value="aaa" />
....
</plugin>
Using
get(plugin[p1].someP1child[pc1].value); or get it by index get(plugin[p1].someP1child[1].value); (second child, counted from 0)the same with custom tag
<settings name="p1" ... >
<someP1child name="pc1" ... value="bla" />
<someP1child name="pc2" ... value="aaa" />
....
</plugin>
Using
get(settings[p1].someP1child[pc1].value); or get it by index get(settings[p1].someP1child[1].value); (second child, counted from 0)Regards!
Andrey
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!