• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

"Live" pick?

Mystic Lemur

Well-known member
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...
 
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
 
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
 
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.
 
Back
Top