Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 19th, 2017, 10:27 AM
I am trying to give a Secondary Class a starting spellbook. I made the item fine, but I can't seem to tag it to a secondary class and the secondary class will not show up in the drop box.

Seems getting a started spellbook has gotten very challenging then the old days of just script it in. :-)

Anyways, I got no idea how to do it now. Any ideas at what maybe I can look at?

Last edited by Frodie; September 19th, 2017 at 12:20 PM.
Frodie is offline   #1 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 20th, 2017, 10:45 AM
Is there a way to get a starting spellbook that any class can read?
Frodie is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 20th, 2017, 11:04 AM
Shoot me a copy of the file and I will take a look.
Aaron is offline   #3 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 20th, 2017, 07:30 PM
Thanks for looking at the file. Sorry it was a bit confusing, (still a work in progress).

Anyways, I finally got a spellbook to show up on the secondary class. But I could not get the free spells to show up in the spell book

I made a class special and added this script -

First 10000

call foctoclass

doneif (state.isfocus = 0)


~ We cast wizard spells
perform focus.assign[ClsCountAs.cHelpWiz]
perform focus.assign[CSCountAs.Wizard]
perform focus.assign[Classes.Wizard]
perform focus.assign[StartSpell.cHelpWiz]
perform focus.assign[sClass.cHelpWiz]
perform focus.assign[CasterSrc.Arcane]
perform focus.assign[CasterType.MemBook]
perform focus.assign[Hero.Spellbook]
perform focus.assign[StartBook.sbStartWiz]

I also tried with a copy of the Wizard Starter Spell book with the script from the prayer book, got the same thing.
Attached Images
File Type: jpg Untitled.jpg (325.5 KB, 1 views)
Frodie is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 20th, 2017, 07:44 PM
Post removed, because I got something wrong. Anyways any help will be cool and thank you!
Frodie is offline   #5 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 20th, 2017, 08:35 PM
perform focus.assign[StartBook.sbStartWiz]

is the issue I think. That is causing the wizard starting spellbook to be added, which has the Target.cHelpWiz tag. I think you need to create a new starting spellbook with a Target tag for this secondary class.
Aaron is offline   #6 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 21st, 2017, 12:28 AM
Yea that is the issue, but the new spellbook will not accept the tag of the secondary class.

I get this error

Invalid tag expression specified for 'findchild'
Location: Procedure 'SpBkFocus' near line 16
- - -
Invalid tag expression specified for 'foreach' statement
Location: 'evalrule' script for Component 'Spellbook' (Eval Rule '#2') near line 11
- - -
Invalid tag expression specified for 'findchild'
Location: Procedure 'SpBkFocus' near line 16

Is this something the "extend thing" could help with?

Last edited by Frodie; September 21st, 2017 at 05:22 AM.
Frodie is offline   #7 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 21st, 2017, 09:07 AM
Will not accept which tag of the secondary class? The Target tag?
Aaron is offline   #8 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 21st, 2017, 09:09 AM
Correct, it will not accept the target tag for a secondary class. Well, the item will take the tag, but it will get the above error when you try to get it to work for the class. On the item, there is the drop box for classes to link to the spellbook, but I can't seem to get a secondary class to show. I made a new tag within the class drop box, but still a no go. Unless the target is a listed class within that dropbox of classes it will not work. So IDK how to get on the list.

ATM, I can get the new spellbook to show up and not in red, if it's made for a wizard, but I can't get the Starting Spells to show. It's in the script above at first 1000, so maybe it's a timing issue.

Last edited by Frodie; September 21st, 2017 at 09:39 AM.
Frodie is offline   #9 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 21st, 2017, 10:01 AM
I guess send me the file again. And please avoid charging ahead and changing things until I can actually look at the problem and give feedback.
Aaron is offline   #10 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:35 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.