• 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

Controlling an option on one item from another item.

Mathias

Moderator
Staff member
Here's what I'm trying to accomplish:

If a unit takes a specific item, an option on other items becomes visible. Basically, the one item improves the function of the others, and I want to put in reminder text.

I tried a global tag, but that means that once any unit takes the improving item, all of them think they have it.

Mirroring doesn't work either. Mirroring controls selection state, not visibility.

Suggestions, please?
 
At 12:05 PM 6/26/2007, you wrote:
If a unit takes a specific item, an option on other items becomes visible. Basically, the one item improves the function of the others, and I want to put in reminder text.

I tried a global tag, but that means that once any unit takes the improving item, all of them think they have it.

Mirroring doesn't work either. Mirroring controls selection state, not visibility.
Since you tried mirroring, I assume you are coordinating two items on the same parent unit. If that assumption is wrong, then the following response is irrelevant.

This can be orchestrated through the careful management of evaluation timing. The item that adds the option to the others must be processed BEFORE the others. This means that the link attaching the item must have an earlier priority. This further means that the item cannot be added via the same selection mechanism as the others.

The first item can then assign a tag to the parent unit that can be propogated downward and tested. Better yet, you could use the "children" transition from within the PreLinks script of the item to navigate up to the unit and then assign a tag to all of the child enties to indicate the first item is present. You should then be able to conditionally display the options on the other items based on the presence of the tag.
 
Back
Top