Junior Member
Join Date: Jun 2016
Posts: 23
|
There are 2 ability group lists that I don't want to appear until the user has chosen a class Specialist. I feel like this should be fairly trivial, and I have an exact example I'm trying to copy from, but I just can't get this to work.
The UA Artificer from the Community Pack has an Alchemist specialist. When you pick that specialist, it creates a new special ability called 'Alchemical Formulas' with new picks. From what I can see, the 'Alchemist' special ability has this eval script: Code:
linkage[table].field[cSpec3rdNm].text = "Alchemical Formulas" linkage[table].field[cSpec3rdSi].text = "Alchemical Formula" linkage[table].field[cCustTeTot].arrayvalue[0] += 1 linkage[table].field[cCustTeTot].arrayvalue[2] += 2 linkage[table].field[cCustTeTot].arrayvalue[8] += 3 linkage[table].field[cCustTeTot].arrayvalue[13] += 4 linkage[table].field[cCustTeTot].arrayvalue[16] += 5 When I add this variation into my specialist's Eval Script, it's not creating the new ability list. I already have a second and third ability I'm adding manually through the Class, and if I change the eval script I'm running to reference the 'third', it will change the name. I'm also not able to find a 'Calc cGiveSp4th', so my assumption is I'm missing something basic to trigger the creation of the 4th ability before my Eval Script can change it's values. I've also tried creating a new ability that references a fourth list (Helper.Quaternary tag), thinking that might drive some type of creation, but that also didn't work. I double checked the 'cSpec4thNm' by adding a new field on the class. Code:
linkage[table].field[cSpec4thNm].text = "Test1" linkage[table].field[cSpec4thSi].text = "Test1" linkage[table].field[cCustTeTot].arrayvalue[0] += 1 |
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
Have you created any Quaternary abilities for this ability yet?
The list only appears if you've already created a few custom abilities. Look at Arcane Archer in the XGTE - the subclass has the following: Code:
doneif (tagis[Helper.Disable] <> 0) linkage[table].field[cSpec4thNm].text = "Arcane Shots" linkage[table].field[cSpec4thSi].text = "Arcane Shot" linkage[table].field[cCustQuTot].arrayvalue[2] += 2 linkage[table].field[cCustQuTot].arrayvalue[6] += 3 linkage[table].field[cCustQuTot].arrayvalue[9] += 4 linkage[table].field[cCustQuTot].arrayvalue[14] += 5 linkage[table].field[cCustQuTot].arrayvalue[17] += 6 When you look at Beguiling Arrow (one of the arcane shots), you'll see that it's set as a Quaternary ability available to the Fighter class. |
#2 |
Junior Member
Join Date: Jun 2016
Posts: 23
|
For some reason I wasn't catching on that there was a different array field. I'll update my arrayvalues to use the 'cCustQuTot' field and it should work out. Thanks for the help!
|
#3 |
|
|