Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Shadowrun (http://forums.wolflair.com/forumdisplay.php?f=75)
-   -   Fully replace Attribute? (http://forums.wolflair.com/showthread.php?t=21069)

ctrvl May 9th, 2012 11:18 PM

Fully replace Attribute?
 
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!

Mathias 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 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)

ctrvl May 10th, 2012 06:51 PM

Thanks Mathias, that's perfect!


All times are GMT -8. The time now is 06:34 AM.

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