So, if I did understand you well, and that seems to make sense to me, getProperty() is waiting for a variable name as first parameter, which means a string.
When you use an unquoted variable, MT evaluates it. If the result is a string, every thing is OK.
In my example, HeureNaissance variable being:
Code: Select all
HeureNaissance (HN):[r: Fatigue = floor((FORCE + AGILITE) / 2)]
Code: Select all
[r: Fatigue = floor((FORCE + AGILITE) / 2)]
So getProperty() has got no property name to use and returns nothing.