Because its not substituting /GameData.Spells.Maintained_1 with the variable value. It sees the slash command and reads the entire thing as a string without translating the variable.
Thus my comment about concatination. So far there's no way to pass both a variable and a string, 2 variables as separate entities, or 2 strings to a single property.
You can make foo = "sometext". Evals as sometext
You can make foo = the value of /GameData.Spells.Maintained_1. Evals as number
You can't make foo = "sometext" + the value of /GameData.Spells.Maintained_1. Evals as sometext
foo = "sometext/GameData.Spells.Maintained_1" evals as sometext/GameData.Spells.Maintained_1
foo = "sometext" + "smoemoretext" evals as sometext
For similar reasons, its impossible to do some math to derive 2 numebrs and pass them to a size or location property as X and Y.
|