• 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

timing issues

Kraupaul

Active member
I’m trying to build a suit of magic armor in the editor that gains additional abilities at role playing milestones. I’m using the “Amount of Activation” tracker to trigger the advancement from one level to the next. Adding a feat works fine. I bootstrap it with a condition of “fieldval:gIsEquip <> 0 & fieldval:actUser > 1” with timing First/2370. I’m now trying to add an attribute bonus, also tied to the Amount of Activation tracker, and can’t figure out the timing for the condition. Bootstrapping “uDex” adds +1 to Dexterity… but uDex has a timing of First/100. If I set the condition timing at say First/50 I eliminate the compiling error… but when I unequip the armor on the portfolio the Dex bonus stays.

I tried adding the attribute bonus with a eval script but I couldn’t figure out the conditional statement for the Amount of Activation.

Any suggestions.
 
Pre-Attributes/10000

Code:
if (field[gIsEquip].value <> 0) then
  if (field[actUser].value > 1) then
    hero.child[aDEX].field[Bonus].value += 1
    endif
  endif
 
Thanks
You guys are not just helpful, but really patient. For some of us programming languages are almost like trying to read greek.
 
Back
Top