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 November 19th, 2017, 12:16 PM
I am try to see if there is a way to get the spell level (tagvalue[sLevel.?]) from a custom scroll. And I am not sure where to even start looking for it. Any ideas?
Frodie is offline   #1 Reply With Quote
LazarX
Senior Member
 
Join Date: Jun 2008
Location: Jersey City
Posts: 326

Old November 19th, 2017, 12:28 PM
I'm not sure of what your problem is. If you make a custom scroll, you set the spell level for each spell on it or accept the default.
LazarX is offline   #2 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old November 19th, 2017, 12:29 PM
I used this for iterating over wands.
Code:
      foreach pick in hero where "thingid.sCustomWnd"
        eachpick.gizmo.findchild[BaseSpell].setfocus
Minous is offline   #3 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old November 19th, 2017, 12:35 PM
Cool, I think that will work. Thank you!

The issue is kind of crazy, but basically it's an item that can hold custom scrolls, but with a max number based on the spell's level. I looked through the fields and tags and I didn't see anything based on the spells level. There is a caster level, but not the spell itself.

Again, Thank you! The above might be what I need.
Frodie is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old November 19th, 2017, 01:16 PM
Just an FYI, this is what i used and it worked -

foreach pick in hero where "thingid.sCustomApp"
perform eachpick.gizmo.findchild[BaseSpell].setfocus
hero.childfound[sCustomApp].field[trkMax].value += focus.tagvalue[sLevel.?]
nexteach
Frodie is offline   #5 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 03:12 AM.


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