Page 1 of 1

Acessing properties inside properties

PostPosted: October 13th, 2020, 2:01 pm
by cemoreno
I have counters with several steps each. Each step has another value asociated to it, "Strenght". Different units have different values (and different number of steps).

I can create several markers for each counter, for example:
Step_1 = 5
Step_2 = 6
Step_3 = 9;

Each unit has also a Dynamic Property "Steps".

So I can access {("Step_")+$Steps$}. That gives me the appropiate property name holding the strength value.

But I am unable to access that value. What would be the correct syntax?

Re: Acessing properties inside properties

PostPosted: October 13th, 2020, 2:06 pm
by Cattlesquat
{ GetProperty("Step_" + Steps) }