Senior Member
Volunteer Data File Author
Join Date: May 2005
Location: Santa Cruz, CA, US
Posts: 123
|
In my rewrite of the BFG files, I've found a rule specifying that a unit (a Commander) must be assigned to the most expensive ship in the fleet. I;ve been thinking on this, and I can't come up with the best way to implement this as a rule. Any suggestions?
Space Marine Maintainer for AB3 Battlefleet Gothic Maintainer for AB3 40K: Space Wolves, 13th Company, Grey Knights, Deathwatch BFG: Space Marine Fleet, Armageddon Fleet, Tau Fleet |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
You first need to identify the most expensive ship. This can be done via a roster statistic. Then you can write a validation rule that verifies the cost of the unit containing the commander equals the value of the calculated roster statistic.
I believe there is an example of how to do this in the V3.1 Beta docs. The example describes how to identify the unit with the highest stat value and then check that within a rule, so you should be able to readily adjust the example to your purposes. Hope this helps, Rob P.S. Since you're a data file author, I'm assuming you're on the Beta team. If not, let us know ASAP via direct email at support@wolflair.com or helpdesk@wolflair.com and we'll get that rectified. At 02:36 PM 10/15/2005, you wrote: Quote:
|
|
#2 |
Senior Member
Volunteer Data File Author
Join Date: May 2005
Location: Santa Cruz, CA, US
Posts: 123
|
Is this feature limited to v3.1?
Space Marine Maintainer for AB3 Battlefleet Gothic Maintainer for AB3 40K: Space Wolves, 13th Company, Grey Knights, Deathwatch BFG: Space Marine Fleet, Armageddon Fleet, Tau Fleet |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
No, the functionality you need is in V3.0. The example was added in the V3.1 docs.
-Rob At 04:29 PM 10/15/2005, you wrote: Quote:
|
|
#4 |
|
|