• 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

Help with Eval Script

Kaleb

Well-known member
How do you write an Eval script that would target an animal companion instead of the Hero?
What I want it to do is to Add +2 to Strength and Constitution and +2 to Natural AC.

Would I add the +2's through the Parent class mod tab or by using and Eval script?
 
minion transitions can be tricky, but they're not too bad, what you'll want is to but the eval script in whatever ability is causing it, class ability, racial ability, feat, etc.

Code:
hero.childfound[cAnimComp].minion.child[aSTR].field[Bonus].value += 2

There are a number of different fields you can use, another common one is aStartMod but fill in the child with the attribute or ArmorClass and apply it to the appropriate field.
 
Back
Top