Senior Member
Join Date: Aug 2013
Location: Alabama
Posts: 254
|
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" |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
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 |
#2 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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 |
#3 |
Senior Member
Join Date: Aug 2013
Location: Alabama
Posts: 254
|
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.
|
#4 |
|
|