• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

access non-live pick?

Steev42

Well-known member
Trying to create a spell adjustment item that (among other things) adds 60 ft. darkvision.

Originally had it in Pre-Attr (10000) because I was just doing anything in one script. When I selected this spell adjustment, I got the following error:

Attempt to access non-live pick 'raDarkVis' from script
---
Attempt to access non-live pick via scripts fails for pick 'raDarkVis'
---
Attempt to access non-live pick 'raDarkVis' from script
---
Attempt to access non-live pick via scripts fails for pick 'raDarkVis'

And yes, this shows up twice.

Since that wasn't working, I moved the darkvision to it's own eval script, at Final(Users)/10000

Code:
#applyvalue[raDarkVis,60]

What am I doing wrong here?
 
I...um...hadn't. I tend to shy away from bootstrapping when I can.

However, with that hint, I got it to work (Bootstrapping raDarkVis with a condition at First/Users of
Code:
fieldval:pIsOn <> 0
) turning on.

Still gives me the same error turning it off, however.
 
Still gives me the same error turning it off, however.
Are you checking in the Eval Script to only run if the Adjustment is turned on? I am thinking its no but you have the bootstrap only happening when turned on.

Do a new copy on any other spell adjustment to see how they always check the field pIsOn before executing the rest of the script.
 
Back
Top