• 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

Tracker Help Please

Frodie

Well-known member
I would like to increases a Tracker I made for a template 1 point per level. Is there a script that will work?

Basically the tracker is a pool of 10 points and with each character level, the pool of points gets a +1.

BTW - Thank you
 
field[trkMax].value is how to access the maximum value of a tracker.

If you're accessing the tracker from another thing, the #tracker[Id] macro simplifies the process - replace "Id" with the Id of the tracker.
 
I tried to copy the Arcane spell pool and attach it to a template and this is the error I get

Attempt to access field 'cTotalLev' that does not exist for thing 'tmSHWaken'
Location: 'field calculate' script for Field 'xTotalLev' near line 16
 
here is the scripe

~our maximum uses is 1/2 our level + WIS bonus
var bonus as number
bonus = field[xAllLev].value /2
field[abValue].value = round(bonus,0,-1)
field[trkMax].value += field[abValue].value + hero.child[aWIS].field[aModBonus].value
 
Back
Top