• 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

abilActive field

Whenever someone asks something weird like this, I'd rather know the objective, because while this is an option, it's not usually the best way to handle things.
 
Okay. This is connected to an earlier thread you commented upon. My goal is to create an option for characters to use Auras. Much like the class ability of the Marshal or Dragon Shaman class in 3.5.

I would like to ensure that the character only has one Aura active at a time. To activate an aura, the character check the checkbox in the activated abilities list. What I was attempt was to create a foreach loop that would scan through all picks on a character. If these pick were one of these auras I would force the abilActive value to 0 to turn off the aura. This way the only aura that would be active would be the one just chosen.

I implemented this, but received an error message from the compiler -> "Only derived fields can generally be modified via scripts"

I assume this means that you cannot manipulate this element via the script.
 
The inquisitor's judgements are a similar thing - a variety of abilities, but they're mutually exclusive with each other - they can't be activated at the same time (with some exceptions). In cases like this, we prefer not to control things for the user, but instead to just use eval rules to notify the user that it's not valid to have more than one of these active at a time.
 
Back
Top