noahfidanque
New member
Hi,
I am trying to set up a some-what complex unit structure, and I'd like to be able to use options to help define the unit structure.
Basically, the unit can consist of 1-3 models. The user can either build their own unit, or select from pre-defined formations. When selecting the formation, I'd like to be able to add the correct models, and trigger the options on the models that correspond to the formation. I realize I could do this (maybe, anyway) with LOTS of custom tags, many (MANY) specific units, etc... This seems REALLY complex, and my data file will be huge and unwieldy...
BUT... Is there a way I can do something like:
IF (unit.option[formation_X].selection = 1) then
SET unit.option[addModel1].selection = 1
SET unit.option[addModel2].selection = 1
SET unit.option[addModel3].selection = 1
SET unit.child[linked:model1].option[a].selection = 1
SET unit.child[linked:model1].option.selection = 1
SET unit.child[linked:model2].option[a].selection = 1
SET unit.child[linked:model2].option[c].selection = 1
SET unit.child[linked:model3].option.selection = 1
SET unit.child[linked:model3].option[c].selection = 1
ENDIF
Or something like that, anyway...
Thanks
I am trying to set up a some-what complex unit structure, and I'd like to be able to use options to help define the unit structure.
Basically, the unit can consist of 1-3 models. The user can either build their own unit, or select from pre-defined formations. When selecting the formation, I'd like to be able to add the correct models, and trigger the options on the models that correspond to the formation. I realize I could do this (maybe, anyway) with LOTS of custom tags, many (MANY) specific units, etc... This seems REALLY complex, and my data file will be huge and unwieldy...
BUT... Is there a way I can do something like:
IF (unit.option[formation_X].selection = 1) then
SET unit.option[addModel1].selection = 1
SET unit.option[addModel2].selection = 1
SET unit.option[addModel3].selection = 1
SET unit.child[linked:model1].option[a].selection = 1
SET unit.child[linked:model1].option.selection = 1
SET unit.child[linked:model2].option[a].selection = 1
SET unit.child[linked:model2].option[c].selection = 1
SET unit.child[linked:model3].option.selection = 1
SET unit.child[linked:model3].option[c].selection = 1
ENDIF
Or something like that, anyway...
Thanks