Quote:
Originally Posted by Illyahr
How would I go about doing that? I got it to select a thing and a helper feat to select a class. The original pulls tags from the thing and forwards them to the helper, I just need the helper to assign the thing to the selected class
Otherwise I have to do a series of if/then lines
|
Something like this should work:
Code:
var drgnmark as string
drgnmark = field[fChosen].chosen.idstring
drgnmark = "thingid." & drgnmark
foreach pick in hero from BaseSpec where drgnmark
perform each.assign[AllowCust.discs]
nexteach
That's off the top of my head, so you might have to play around with it some more. If you can't get it working, give me some more details of what exactly you are trying to do, and I can refine it or maybe come up with something that doesn't need a foreach loop.