Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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? |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
At 12:05 PM 6/26/2007, you wrote:
Quote:
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. |
|
#2 |
|
|