Junior Member
Join Date: May 2018
Location: East Coast, USA
Posts: 12
|
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 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. |
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
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 |
#2 |
Junior Member
Join Date: May 2018
Location: East Coast, USA
Posts: 12
|
Thank you. It worked! If there was a rep system...
|
#3 |
|
|