• 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

problem with situational script

psych777

Well-known member
i'm a bit confused here. i have this situational script on a feat:

Code:
#situational[hero.child[skPercep],"+" & hero.child[fPUHawkeye].field[abValue].value & " on vision-based Perception checks",field[name].text]

and this works just fine. so on another feat i've got a similar script:

Code:
#situational[hero.child[skSenseMot],"+" & hero.child[fPUInquis].field[abValue].value & " on Sense Motive checks to
oppose a Bluff check.",field[name].text]

but this one gives me an error when i do Test Now saying: Invalid macro reference encountered in script

why is the first one working for the preception skill but the second won't for the sense motive?
 
Well if you copy/pasted that directly you have a carriage return in the middle of the line. Some suggestions since I'm assuming the feat ids are the ones listed in the copy.

Code:
#situational[hero.child[skPercep], signed(field[abValue].value) & " on vision-based Perception checks",field[thingname].text]
#situational[hero.child[skSenseMot], signed(field[abValue].value) & " on Sense Motive checks to  oppose a Bluff check.",field[thingname].text]
 
brilliant! the copied carriage return is exactly what it was. thanks!

does the 'signed' just mean the thing i'm running on?
 
Back
Top