Senior Member
Join Date: Apr 2013
Location: Poughkeepsie, NY
Posts: 102
|
I know that as things stand right now this is "unsupported". I was curious as to what the limiting factor was.
Part of the reason I'd love to see this is for class abilities like Advanced Learning. This is currently implemented, as I've seen it, as a Class Special with a Feat of the same name bootstrapped. The Feat then has a Freeform edit control in the Select From...doohicky. This does not add the spell to spell lists, and thus only shows up on the character's Specials tab (not optimal). I've been reduced to writing a version of the Feat for a specific character where I know the spell(s) I want and I've made that version of the spell with a User tag for it. This tag denotes what I let the feat choose from and then I get that spell (adding yet another tag to the spell, from the feat which then lifts the violation of an Expr-req). What would be supremely awesome would be if I could check the fChosen field and grab the idstring. Then go through eachpick on your hero where CasterSrc.Arcane is present. Now add a bootstrap of the idstring spell from fChosen and add the tags required for that particular caster. |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Code:
doneif (field[usrChosen1].ischosen = 0) var spell as string spell = field[usrChosen1].chosen.idstring spell = "thingid." & spell hero.childfound[cHelpWMa].field[cSpellExpr].text &= " | " & spell |
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
I don't think this is a Pathfinder specific logic I think that is part of the HL authoring kit logic. Code:
doneif (field[usrChosen1].ischosen = 0) var spell as string spell = field[usrChosen1].chosen.idstring spell = "thingid." & spell ~ Change the spell expression for the class we are attached too root.field[cSpellExpr].text &= " | " & spell Code:
~ If nothing chosen get out now! doneif (field[usrChosen1].ischosen = 0) ~ Change the spell expression for the class we are attached too root.field[cSpellExpr].text &= " | " & "thingid." & field[usrChosen1].chosen.idstring Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
And here I thought I was already being efficient. You're such a show-off.
Alright, I can use this instead, though I don't think I can make one universal class feature though. They gain this ability multiple times each, and each time the list of spells they can choose from grows, which means new custom expressions for each one. Still, very useful. Thanks, Shadow. |
#4 |
|
|