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
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old April 15th, 2011, 02:13 AM
How do I add another Edge Type?
I can't see anywhere here to add another Edge Type, and I've tried going through the various to find where the current ones are defined with no luck.

Also...

How do I add a +2 to a specific Knowledge skill?
I've tried quite a few code constructs, but I can't quite get it to work.

I can spin through a foreach and find the Knowledge skill I want, but it won't let me use the loop variable in the modification statement. Am I even close?

foreach pick in hero where "thingid.skKnow"
if (compare(lowercase(eachpick.field[domDomain].text),"arcana") = 0) then
perform #traitprof[eachpick,+,2,"Old Family"]
~hero.childfound[eachpick].field[trtNoStack].modify[+,2,"Old Family"]
endif
nexteach
CapedCrusader is online now   #1 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old April 16th, 2011, 11:10 PM
OK, I got the answer to the second question... still looking for the answer to the first one.

foreach pick in hero where "thingid.skKnow"
if (compare(lowercase(eachpick.field[domDomain].text),"arcana") = 0) then
perform eachpick.field[trtRoll].modify[+,2,"Old Family"]
endif
nexteach
CapedCrusader is online now   #2 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old April 18th, 2011, 12:59 PM
Glad you got the second question figured out! I just answered the first question in the separate thread were you first posted it.
rob is offline   #3 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old April 30th, 2011, 03:52 AM
Have you seen the possible bug in the purchasing screen I posted in the Savage Worlds forum? I recall you were talking about an update coming out soon...
CapedCrusader is online now   #4 Reply With Quote
tatteredking
Senior Member
 
Join Date: Sep 2010
Location: Rochester, NY
Posts: 263

Old May 26th, 2011, 07:51 AM
Quote:
Originally Posted by CapedCrusader View Post
OK, I got the answer to the second question... still looking for the answer to the first one.

foreach pick in hero where "thingid.skKnow"
if (compare(lowercase(eachpick.field[domDomain].text),"arcana") = 0) then
perform eachpick.field[trtRoll].modify[+,2,"Old Family"]
endif
nexteach
Hey Crusader, did you put this under Eval Scripts or Eval Rules?

EDIT: Scratch that question, did it as an Eval Rule and it worked. The bonus doesn't show up if you don't take a the skill though.

Last edited by tatteredking; May 26th, 2011 at 07:58 AM.
tatteredking is offline   #5 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old May 26th, 2011, 11:14 AM
If you put it in Eval Scripts, the bonus should show up when the skill is selected.
CapedCrusader is online now   #6 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:30 PM.


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