• 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

Activating a condition through script?

Pezmerga

Well-known member
I have a flaw that applies the shaken condition when in tight quarters.
I am trying to have it so that when it is activated, it will apply the shaken condition to the hero.

Code:
First 550
~only run the rest if we're activated
doneif (field[abilActive].value = 0)

perform hero.childfound[pcnShaken].assign[Helper.CondActive]
[B]hero.child[pcnShaken].field[abilActive].value = 1
hero.child[pcnShaken].field[pIsOn].value = 1[/B]

Neither of the bolded lines of code will work. It won't let me change the value because they are not a derived field. Is there any other way I can do this, or is it beyond the scope of the editor?
 
Back
Top