Senior Member
Join Date: Feb 2013
Posts: 357
|
A little complicated, but trying to get Dragonmarks from Eberron to work. Used the Martial Study feat as a base for the scripting but gets access to the whole list instead of a single ability. Here's where it all falls down:
Code:
perform hero.child[fLeaDraMrC].field[fChosen].chosen.assign[AllowCust.discs] |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
My suggestion would be to pull the thingid from the chooser, then use that to assign the tag. |
|
#2 |
Senior Member
Join Date: Feb 2013
Posts: 357
|
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 Last edited by Illyahr; February 20th, 2018 at 10:06 AM. |
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
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 |
|
#4 |
|
|