Hey, I know I've seen this kind of thing done before, but I'm not sure how to find the examples again.
What I'd like do do is something like this:
<<widget "setStats">><<set $player.str to $startingStats.$args+$args>><</widget>>
Given that $args+$args = "humanmale", and that $startingStats.humanmale holds an array of numbers, the first of which is 17. I'm thinking I should be able to get to those numbers like this somehow, but, I can't remember what syntax I need for this. I know this is possible, just... can't figure out how to do this.
So, we've got :
$args = "human"
$args = "male"
$startingStats.humanmale = 17
How do I properly join and then evaluate the property in order to access it?