|
Senior Member
Volunteer Data File Author
Join Date: May 2005
Location: Grenoble, France
Posts: 167
|
Hello,
If I understand your need, the ship can have 0 or its Fleet Wing rating number of the same type of wings. Did you try an option with Incr and size min/max settings ? For this : 1. Create a group wingsNb with tags:1, 2, 3, 4, ... 2. Create an option with EVAL Script: var val as number var sel as string sel = "wingsNb." & selection val = unit.assignstr[sel] SIZE Script: @minimum = tagvalue[wingsNb.?] @maximum = tagvalue[wingsNb.?] with a CANDIDATE script filled with the wings type and * in child entity. 3. Link the option to every ship with both Incr and Max set to the Fleet Wing rating. Quote:
Quote:
Quote:
The user can choose only one type of wings, and it is automaticaly set to the Fleet Wing rating number. NOTE : If you can have 0, 1, 2, ..., Fleet Wing rating wings, just remove the Incr from the previous template. Hope This helps, Frédéric |
|||
#1 |
|
|