• 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

Mirrored links with live statements

harkan

Well-known member
Got an interesting one ...

Have an option (orCybork) in a unit (A) that has a live tag linked to a tag (orkGTags.orGrotsnik) in global tag group as it only shows visible when a certain character (C) is present in the roster

Another unit acts as a unit commander (B) and is an option for unit A. When the unit takes the option the commander must also have it so it is set as a mirrored option:

Option ID: orCybork
Nature: auto
Mirror: orCybork
Live: orkGTags.orGrotsnik

For some reason the mirrored option always shows on even when the squad hasnt taken orCybork. Take the live tag out of the mirrored option and it works properly but then you have it on display all the time even when unit C isnt in the roster. Have also tried setting the mirrored option to have cont: orCybork and it still does the same.

It looks like the triggering of the live function over-rides the mirror function.

Have got round it by creating a copy of the option orCybork and giving it a visibility tag of orkGTags.orGrotsnik and that seems to work.

cheers - if you need the file to understand better let me know, ta
 
At 02:07 PM 1/10/2008, you wrote:
Got an interesting one ...

Have an option (orCybork) in a unit (A) that has a live tag linked to a tag (orkGTags.orGrotsnik) in global tag group as it only shows visible when a certain character (C) is present in the roster

Another unit acts as a unit commander (B) and is an option for unit A. When the unit takes the option the commander must also have it so it is set as a mirrored option:

Option ID: orCybork
Nature: auto
Mirror: orCybork
Live: orkGTags.orGrotsnik

For some reason the mirrored option always shows on even when the squad hasnt taken orCybork. Take the live tag out of the mirrored option and it works properly but then you have it on display all the time even when unit C isnt in the roster. Have also tried setting the mirrored option to have cont: orCybork and it still does the same.

It looks like the triggering of the live function over-rides the mirror function.

Have got round it by creating a copy of the option orCybork and giving it a visibility tag of orkGTags.orGrotsnik and that seems to work.

cheers - if you need the file to understand better let me know, ta
Yes, this has been forever, but you got something working, so this was a low priority.

I think AB is actually working correctly on this one. Assuming I'm accurately understanding the problem, of course.

When a live tagexpr is used on an option, that option is treated as *not existing* if the live tagexpr fails. It's as if the option does not exist for the unit.

Since mirroring relies on the presence of the option in the parent, but that option is considered to not exist, the mirrored option behaves as if the parent option doesn't exist. If I understood your explanation of the behaviors correctly, this is the behavior you're seeing. If that's the case, then AB is behaving as it should.
 
Since mirroring relies on the presence of the option in the parent, but that option is considered to not exist, the mirrored option behaves as if the parent option doesn't exist. If I understood your explanation of the behaviors correctly, this is the behavior you're seeing. If that's the case, then AB is behaving as it should.

so if I'm reading this right and this does seem to be the behaviour that occurs, if the parent unit doesn't have the option and the child has the option mirrored then that option will be displayed?

the only reason am asking is sometimes it appears the behaviour is inconsistent in that a unit with a number of mirrored options will behave differently when set to the child of one unit to another unit
 
Back
Top