Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 4th, 2014, 10:30 AM
In the Pathfinder forum, I wrote an article about it: http://forums.wolflair.com/showthread.php?t=47611
Mathias is offline   #11 Reply With Quote
barrelv
Member
 
Join Date: Aug 2014
Posts: 87

Old November 5th, 2014, 11:21 AM
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>
I get "Encountered unknown element tag '3' "
barrelv is offline   #12 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 5th, 2014, 12:16 PM
Code:
  <bootstrap thing="armAlchLtr">
     <containerreq phase="Initialize" priority="2000"><![CDATA[
       count:hero#Career.cr? < 3
       ]]></containerreq>
   </bootstrap>
Without a CDATA wrapper, you're only allowed a limited character set. < is one of the forbidden characters without a CDATA wrapper.
Mathias is offline   #13 Reply With Quote
barrelv
Member
 
Join Date: Aug 2014
Posts: 87

Old November 5th, 2014, 12:44 PM
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)"
barrelv is offline   #14 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 5th, 2014, 12:48 PM
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.
Mathias is offline   #15 Reply With Quote
barrelv
Member
 
Join Date: Aug 2014
Posts: 87

Old November 5th, 2014, 12:54 PM
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.
barrelv is offline   #16 Reply With Quote
barrelv
Member
 
Join Date: Aug 2014
Posts: 87

Old December 9th, 2014, 12:30 PM
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.
barrelv is offline   #17 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:01 AM.


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