Something went wrong while setting issue due date.
Placeholder <scope.var.varname> does not work with nested variables
Open
Placeholder <scope.var.varname> does not work with nested variables
Title, you can't use the value of one variable to retrieve another.
Example Attached:
someskill-cast:
Skills:
- skill(s=someskill-exec;value=hello) @self
someskill-exec:
Skills:
- setvariable{var=caster.<skill.value>;val="yes hello hello";type=STRING}
- message{m="<caster.var.<skill.value>>"} #this will return nothing
- message{m="<caster.var.hello>"} #This will return "yes hello hello"
To be clear, this line:
- setvariable{var=caster.<skill.value>;val="yes hello hello";type=STRING} @self
Works perfectly fine and the value can be retrieved with
- message{m="<caster.var.hello>"}
However <caster.var.<skill.value>> which should be equal to <caster.var.hello> returns nothing.
added Bug label
To add some more details:
- skill{s=[ - setvariable{var=caster.1;val=1000} - setvariable{var=caster.2;val=1} - message{m="TEST 1: <caster.var.<caster.var.2>>"} @PIR{r=10} - message{m="TEST 2: <<caster.var.<caster.var.2>>"} @PIR{r=10} ]} @self ~onSpawn
The first message simply does not work as already stated above, but the funny thing is that the second message returns
TEST 2: <1000
added Verified Issue label
Please register or sign in to reply