I have some tasks that are called and uses the # %character% etc, the parameters for the task that called them in the parameter uses %Player%.Location.Characters (if i use Character it throws an error).
So when i reference the character passed on through the parameters, in the output i have %character%.Name, but it gives me an error BadExpression characterkey.name, yet it still correctly outputs the name like it should. I am guessing the reason it is saying bad expression is because i used .Characters not .character in the parameters. But if i drop the S, the error becomes object not set to reference etc.
So how do i get around this. In short i'm rounding up all characters present in players location, and then the called tasks with # %character% has restrictions to filter them down. As stated it outputs the characters name properly, so i don't quite understand why its a bad expression?? i tried changing it to # %characters% but change.