Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
In the Pathfinder forum, I wrote an article about it: http://forums.wolflair.com/showthread.php?t=47611
|
#11 |
Member
Join Date: Aug 2014
Posts: 87
|
okay, I thought I understood this, could get the count to work for debug scripts, but I'm getting errors for this code:
Code:
<bootstrap thing="armAlchLtr"> <containerreq phase="Initialize" priority="2000"> count:hero#Career.cr? < 3 </containerreq> </bootstrap> |
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Code:
<bootstrap thing="armAlchLtr"> <containerreq phase="Initialize" priority="2000"><![CDATA[ count:hero#Career.cr? < 3 ]]></containerreq> </bootstrap> |
#13 |
Member
Join Date: Aug 2014
Posts: 87
|
Thanks! that got it! Now I'm stuck in timing hell, trying to get this to take place after the Careers get added (and stick their tags on the hero) but somehow not pissing off the:
"Thing 'careerthing' - Condition phase/priority (PreTraits/2000)for bootstrap thing 'addedthing' occurs after the earliest rule/script (Initialize/4000)" |
#14 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Can you move the relevant parts of the script on the careers that comes rather late to very early? You don't need to move the rest of that script - just the tag or tags that matter here.
|
#15 |
Member
Join Date: Aug 2014
Posts: 87
|
Now I need to figure out how the heck I'm getting the Career tag on the Hero... I seem to have forgotten where I did that in the months of this project
Ha! by the magic of Find In Files, I got it and it works now. Sweet! Last edited by barrelv; November 5th, 2014 at 12:58 PM. |
#16 |
Member
Join Date: Aug 2014
Posts: 87
|
well I suddenly found a huge bug in this approach. I'm evaling the count of careers on each career with each pass. So when you hit the 3rd career, everything loses its mind.
I was really hoping I could avoid character creation versus advancement approach, but I think that's going to be necessary for this part. |
#17 |
|
|