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
Mystic Lemur
Senior Member
 
Join Date: Aug 2013
Location: Alabama
Posts: 254

Old November 9th, 2014, 10:14 AM
Trying to cobble something together, and I'm getting an error that I don't understand.

Code:
Attempt to access non-live child pick "manReposit" from script
---
Attempt to access non-live pick via script fails for pick "manReposit"
I'm not 100% sure what it means for a pick to be "live", and I know some maneuvers are usually hidden somehow, but I'm not sure where to go from here...
Mystic Lemur is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old November 9th, 2014, 10:21 AM
That's weird, maneuvers should be already live on all characters as far as I can tell. but you can do a live check with the childlives transition so

if (hero.childlives[manReposit] <> 0) then
stuff
endif
AndrewD2 is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old November 9th, 2014, 10:21 AM
I'm a little fuzzy on the concept, but I believe Live means something which has been added to the character, as opposed to something which potentially could be added to the character. For example, if you have a 1st level ranger the Endurance feat he would gain at 3rd level is present on the character in some fashion, but because it doesn't satisfy it's bootstrap condition yet it is "non-live" and so provides no effects nor can it be affected by anything. Once you have 3 ranger levels, the Endurance feat becomes live, and can be affected by and affect other stuff.

I suspect the issue is that the new maneuvers from the APG were assigned to their own source, so your eval script is trying to do something to them without that source being turned on. It's an issue we've run into before, so we usually have to include a check for the source being turned on before manipulating those maneuvers. For example:

Code:
      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)

      ~ If we're disabled, just get out now
      doneif (tagis[Helper.SpcDisable] <> 0)

      ~ bonus to CMDs
      hero.childfound[manBullRus].field[cmdBonus].value += field[abValue].value
      hero.childfound[manPull].field[cmdBonus].value += field[abValue].value
      hero.childfound[manPush].field[cmdBonus].value += field[abValue].value

      doneif (hero.tagis[source.APGManeuv] = 0)

      hero.childfound[manDrag].field[cmdBonus].value += field[abValue].value
      hero.childfound[manReposit].field[cmdBonus].value += field[abValue].value
Aaron is offline   #3 Reply With Quote
Mystic Lemur
Senior Member
 
Join Date: Aug 2013
Location: Alabama
Posts: 254

Old November 9th, 2014, 10:24 AM
Hot dawg. That's exactly what it was. I turnedoff everything but core on my hero so I wouldn't have so many tags to sort through. Thanks, both of you.
Mystic Lemur is offline   #4 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 08:45 AM.


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