Warlock Spell Slots
1 Attachment(s)
I have chosen to give a class limited spell slots so I used the Warlock spell slots. When I print out the character sheet, the spell slots are listed as Warlock. Is there any way to change this with some sort of name change command?
|
Quote:
hero.child[thingid].field[livename].text = "New Name Here" |
@RavenX
Ive tried both of these but it has not changed anything. What could I be doing wrong? hero.child[SlotHoldWa].field[livename].text = "New Name Here" hero.child[SpellSlots].field[livename].text = "New Name Here" I have also tried to replace the text but no luck hero.child[SlotHoldWa].field[livename].text = replace(hero.child[SlotHoldWa].field[livename].text, "Warlock", "Fabled Archer", 0) |
Any thoughts or ideas? Anyone?
I am putting this name changing script in the Class Special ability. Is that the place for it? I also have it with three other eval scripts. Should they be in another order than this? 1. Makes the Hero a Caster 2. Sets INT as the spell casting stat 3. Gives the Hero Warlock spell slots 4. Tries to change the Spell Slot name from Warlock to "New Name" when the character sheet is printed. |
Quote:
Hero Lab works through each phase one at a time. It compiles the code from the lowest priority number to the highest in each phase. So it basically parses Initialize from 0 to 99999999 then moves to Setup and does the same thing parsing the code for each phase individually. If you are setting in say Final 1000, and another script is running in Render 10000, the Render script will overwrite what you did. Your script has to run later than Render 10000 if you want to make the change you did work. |
2 Attachment(s)
Okay, I have got it to work somewhat. It has changed in Hero Lab, but not on the printed character sheet.
|
Quote:
|
I already checked for you on the source code and it is locked down, so the changes to sheet output you need would have to be done by someone who works for Lone Wolf if changing the livename doesn't work. They might have coded the source code for sheets to output the name field instead of the livename field.
|
Ah, I was starting to think along those lines. Thanks for the help!
|
All times are GMT -8. The time now is 10:36 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.