This is an old revision of the document!


Binding Expressions

You can use expressions to change how values from an ARDI asset are translated into effects.

ExampleDescription
[ Level ]
A simple copy of the property into the effect.
[ Level|1 ]
Is '1' when the property equals one, otherwise it's 0.
[ Level|3|5|12 ]
Is '1' when the property equals three, five or twelve, otherwise it's 0.
[ Level:%:0:100]
Use the percentage of the property range. If the property has a range between 0 and 500, 500 results in an effect value of 100, 250 results in an effect of 50, 0 results in an effect of 0.
[ Level:*:20:2 ]
The first option is an offset (an amount added to the base) and the second option is a multiplier. In this example, 20 is added to the amount before it is multiplied by 2, so that 0=40, 50 = 140 etc.