Thread: Script Question
View Single Post
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old May 14th, 2017, 05:58 PM
I don't know that I've ever seen #traitinplay in use, either. I've always just used #traitadjust. It sounds like you've got something like a magic item like a belt of giant strength that is supposed to set a flat strength value when equipped and not add to it? The #traitadjust macro is definitely used for adding die steps, though, not setting a trait to a specific value. I think what you're looking for is just to set the trtFinal field, instead.

Still it may just be a timing issue. What did you set the timing of your script to be? If it's too early it may be that you adjustment is happening before other things that would be further modifying the value. You probably need something in the Traits/5000 range or maybe even later, I think.

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   #5 Reply With Quote