Page 1 of 1

Enforce Weapons Limits

PostPosted: Mon Mar 19, 2007 5:54 pm
by Homer_S
I have a datafile with an entry organized as follows

Parent Unit
-Champion
-Child Unit

How can I implement a limit on a weapon, when 1 can be in either the parent or the child but not both? It works now that both parent and child can take 1 but only 1 per sub-unit, I want it to work such that only one of them can take it, graying our the option in the other sub-unit. I imagine that it has something to do with inheritance.

Thanks,
Homer Out

PostPosted: Tue Mar 20, 2007 6:25 am
by harkan
children are processed after parents apparently (see Rob's post in the LW forum), however u could try setting a tag if the user selects the weapon on the parent and applying that to the children - make this a very high priority (between 10 - 20??)

Use a live statement on the children to check for the presence of this tag

Doing it the reverse way is not possible I think, apart from maybe tagging the option and setting a rule with a very low priority (200+) to count the number of tags, if more than one then show an error