Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Shadowrun

Notices

Reply
 
Thread Tools Display Modes
ctrvl
Junior Member
 
Join Date: May 2012
Posts: 9

Old May 9th, 2012, 11:18 PM
Trying to build an aug that completely replaces a natural Attribute - something like an animal brain. I've tried:

perform #traitaugment[attrInt,=,5,""]
perform #traitaugment[attrLog,=,1,""]

But those still add to the character's natural Attributes.

I tried searching through the help from the help tooltip but the page is still under construction. Is there somewhere I can go to see available methods and/or components? I was also going to try something like:

perform hero.child[attrInt].modify[=,5,""]

But I'm pretty sure that's not referencing it properly (HL complains when I try that).

Thanks in advance - love love love this component of HL so far!
ctrvl is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old May 10th, 2012, 07:34 AM
Use the trtOver field - that will entirely override the value that's there with its own value.

Code:
 
perform hero.child[attrInt].field[trtOver].modify[=,5,""]
perform hero.child[attrLog].field[trtOver].modify[=,1,""]
Mathias is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old May 10th, 2012, 07:37 AM
There's also trtReplace, which will override the value only if it's higher than the value - just use the trtOver code I gave you, but change the field name.

(skillsofts use trtReplace, possession uses trtOver for the mental attributes)
Mathias is offline   #3 Reply With Quote
ctrvl
Junior Member
 
Join Date: May 2012
Posts: 9

Old May 10th, 2012, 06:51 PM
Thanks Mathias, that's perfect!
ctrvl is offline   #4 Reply With Quote
Reply

Thread Tools
Display Modes

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 06:30 AM.


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