I am wanting to use amendthing on certain picks that I choose with a foreach loop.
How do I use the state.thing[XXX].amendthing[yyy,zzz] statement within the loop?
Using eachpick in place of thing[XXX] or state.thing[XXX] doesn't work. I think I need to dynamically assign thing[XXX] to the id of the current pick but thing[XXX] won't take strings.
How do I use the state.thing[XXX].amendthing[yyy,zzz] statement within the loop?
Using eachpick in place of thing[XXX] or state.thing[XXX] doesn't work. I think I need to dynamically assign thing[XXX] to the id of the current pick but thing[XXX] won't take strings.