• 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

Pulling Tracker From 1 Thing to Other Thing

I've come across a new problem that I don't quite know what key words to use to search for. I'm trying to get Class Special 1 to pull off Class Special 2's tracker in order to determine when to activate a certain ability. Both Class Specials have their own tracker.

Class Special 1's Eval Script is as follows (each abValue is 2):

Code:
      doneif (tagis[Helper.Disable] <> 0)

             if (#levelcount[Kinet] >= 16) then
           if (field[abilActive].value <> 0) then
         if (field[usrChosen1].ischosen <> 0) then
         field[usrChosen1].chosen.field[aNormMod].value += field[abValue3].value

        endif
       endif
      endif

             if (#levelcount[Kinet] >= 11) then
           if (field[abilActive].value <> 0) then
         if (field[usrChosen1].ischosen <> 0) then
         field[usrChosen1].chosen.field[aNormMod].value += field[abValue2].value

        endif
       endif
      endif
              if (#levelcount[Kinet] >= 6) then
           if (field[abilActive].value <> 0) then
         if (field[usrChosen1].ischosen <> 0) then

         field[usrChosen1].chosen.field[aNormMod].value += field[abValue].value


        endif
       endif
      endif

What I need to do is implement an "If Tracker from Class Special 2 is at 3, then field[usrChosen1].chosen.field[aNormMod].value += field[abValue].value".

I need another "if", but I've no clue if it's even possible to pull from another Thing's tracker, except with maybe [trkLeft], but no idea how to format it into it. Appreciate the help.
 
If you're trying to find a value from another ability, usually it looks something like:

Script on Ability #1:

~ If the tracker on Ability_2 is less than or equal to 3
if (hero.childfound[Ability_2_ID].field[trkLeft].value <= 3) then
~ do something to the local context fields
field[usrChosen1].chosen.field[aNormMod].value += field[abValue].value
end if
 
Back
Top