Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
dchoey
Junior Member
 
Join Date: Feb 2007
Posts: 15

Old March 15th, 2007, 05:54 PM
I am trying to add a prereq on any craft skill being 4 or higher to a feat. The problem that I am having is that it hero.childfound[kCrafOther] will return the first craft: other skill that it finds. Is there a way to check all craft other skills?
dchoey is offline   #1 Reply With Quote
kingpaul
Member
 
Join Date: Jan 2007
Location: Girard, PA, USA
Posts: 51
Send a message via AIM to kingpaul Send a message via MSN to kingpaul Send a message via Yahoo to kingpaul

Old March 15th, 2007, 07:18 PM
Can't you mimic how the Loremaster requires 2 different Knowledge skills?
kingpaul is offline   #2 Reply With Quote
dchoey
Junior Member
 
Join Date: Feb 2007
Posts: 15

Old March 15th, 2007, 11:07 PM
Quote:
Originally Posted by kingpaul
Can't you mimic how the Loremaster requires 2 different Knowledge skills?
Thanks for the tip

Just looked at the Loremaster requirements in detail. There is a tag Hero.Know10 that is set for each knowledge skill that has 10 ranks. I could set a similar tag for craft skills but I don't know what is setting the knowledge tag.

It is obviously a script that runs in the tasks list but I am not sure when or what it looks like to make something similar. More research is required but this is the correct path.
dchoey is offline   #3 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old March 27th, 2007, 01:44 PM
At 07:54 PM 3/15/2007, you wrote:

>I am trying to add a prereq on any craft skill being 4 or higher to
>a feat. The problem that I am having is that it
>hero.childfound[kCrafOther] will return the first craft: other skill
>that it finds. Is there a way to check all craft other skills?


Are you trying to see whether any craft skill has a rank of 4 or
higher, or whether a specific Craft: Other skill has a rank of 4 or higher?



--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #4 Reply With Quote
dchoey
Junior Member
 
Join Date: Feb 2007
Posts: 15

Old March 27th, 2007, 06:51 PM
Quote:
Originally Posted by Colen
At 07:54 PM 3/15/2007, you wrote:

>I am trying to add a prereq on any craft skill being 4 or higher to
>a feat. The problem that I am having is that it
>hero.childfound[kCrafOther] will return the first craft: other skill
>that it finds. Is there a way to check all craft other skills?


Are you trying to see whether any craft skill has a rank of 4 or
higher, or whether a specific Craft: Other skill has a rank of 4 or higher?
I am trying to determine if any craft skill has a rank of 4 or higher.
dchoey is offline   #5 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old March 28th, 2007, 12:58 AM
At 07:51 PM 3/27/2007, you wrote:
Quote:
Colen wrote:
At 07:54 PM 3/15/2007, you wrote:

>I am trying to add a prereq on any craft skill being 4 or higher to
>a feat. The problem that I am having is that it
>hero.childfound[kCrafOther] will return the first craft: other skill
>that it finds. Is there a way to check all craft other skills?


Are you trying to see whether any craft skill has a rank of 4 or
higher, or whether a specific Craft: Other skill has a rank of 4 or higher?


I am trying to determine if any craft skill has a rank of 4 or higher.
I'm guessing the easiest solution to this might be to leverage something new I'm adding into the engine and that will be available shortly. Using the forthcoming "foreach" mechanism, this would be easy to solve. Unless Colen has a brilliant idea that I can't think of that is already available....
rob is offline   #6 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old March 29th, 2007, 10:53 AM
At 02:00 AM 3/28/2007, you wrote:

>At 07:51 PM 3/27/2007, you wrote:
>:
>Colen wrote:
>At 07:54 PM 3/15/2007, you wrote:
>
> >I am trying to add a prereq on any craft skill being 4 or higher to
> >a feat. The problem that I am having is that it
> >hero.childfound[kCrafOther] will return the first craft: other skill
> >that it finds. Is there a way to check all craft other skills?
>
>
>Are you trying to see whether any craft skill has a rank of 4 or
>higher, or whether a specific Craft: Other skill has a rank of 4 or higher?
>
>
>I am trying to determine if any craft skill has a rank of 4 or higher.
>
>I'm guessing the easiest solution to this might be to leverage
>something new I'm adding into the engine and that will be available
>shortly. Using the forthcoming "foreach" mechanism, this would be
>easy to solve. Unless Colen has a brilliant idea that I can't think
>of that is already available....


I could add tags to the hero showing the highest rank in Craft,
Profession, etc skills that you have. For example, if you have 4
ranks in Craft: Alchemy and 7 in Craft: Basketweaving, the hero would
have 7 "Hero.Craft" tags, allowing you to determine "The highest
Craft skill I have is rank 7". If you wanted to do anything more
complicated (for example, if you wanted to verify that 2 skills were
over 4 ranks) you'd have to use foreach.



--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #7 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 02:10 AM.


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