• 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

A question about scripts and linkages

Erich

Well-known member
Hi,
In my never ending quest to get the lizardman Primitive racial property to work I decided to try and modify the Very Costly Attribute racial property.
Now the script to apply that to Smarts is
Code:
linkage[Attribute].field[trtCost].value += 1
and the link script is
Code:
linkage="Attribute" thing="attrSma"

So I figured that the script to apply this to a skill would be something like
Code:
linkage[Skill].field[sklCost].value += 1
and the link would be
Code:
linkage="Skill" thing="skKnow"

But when I try that I get an error saying that sklCost does not exist and if I leave in trtCost I get an error saying that trtCost does not ask for thing skKnow.

Obviously I am doing something wrong here. Am I completely out in left field and need to try another approach or is it just a matter of getting the syntax right for this script?

Thanks
-Erich
 
I'm pretty sure you would not need to change the Eval script at all. I'm pretty sure the scripts, as is, will set appropriate costs for things based on what you link. I think you only need to modify the Linkage to skKnow. The problem there seems to be that doing that gives you an error that "'skKnow' must be specified as unique", presumably because the source code is set up so that if you put Knowledge in as the link it wants a focus for that knowledge skill (like Knowledge: Battle or Knowledge: Latin or whatever.) I don't know if there is a way around that at all without modifying the underlying source code to handle it, but maybe someone like CapedCrusader could give more insight on that one.

EDIT: Scratch that, it's giving the error because it wasn't a skill with a "Uniqueness" setting of "Unique", which skKnow is not (because you can have multiples of those.) So focus makes no difference in that case. I still think that's still probably a source code issue, though. Something to do with the script "VeryCostlyAttribute", at a guess, which simply may have to be that way. I don't know.
 
Last edited:
Back
Top