• 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

Most expensive unit...

HakujinGrande

Well-known member
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?
 
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:

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. Any suggestions?
 
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:

Is this feature limited to v3.1?
 
Back
Top