Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old March 30th, 2013, 03:44 PM
Is there a way to allow a character to take more than 1 Attribute Advancement after the first one in the same rank after the character is locked and have it not throw an error.
jbearwillis is offline   #1 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old March 30th, 2013, 10:15 PM
OK I figured it out, it took me a lot of trial and error, but at long last I got it to work. I made a mechanic that allows you to take more Attribute Advancements per level then allowed because the starship creation works a lot differently then character creation does. So here is the mechanic.

Name: Increased Attribute Advance

Phase: Traits

Priority: 5000

Index: 1

if (hero.tagis[mode.creation] = 0) then
~make sure the tag we're adding isn't already present - we don't want
~to double it up
if (hero.tagis[Advance.Increase] >= 1) then
if (hero.child[advAttrib].tagis[Helper.NoMaxBound] = 0) then
perform hero.child[advAttrib].assign[Helper.NoMaxBound]
endif
endif
endif

I set it at 5000 because it didn't seem to work before then. If there is a better way to write the script, any help will be most appreciated.

Thanks JBear
jbearwillis is offline   #2 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old March 31st, 2013, 04:33 AM
Thanks for posting how you figured it out! You never know when it might be useful for someone else, too.

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
Official (In the downloader)
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me)
zarlor is offline   #3 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 12:23 PM.


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