Senior Member
Volunteer Data File Author
Join Date: Mar 2005
Posts: 345
|
Was playing trying to ensure that the existing squad name did not get over written when a new suqd was dropped in, i.e. to use the running examples of the IG files, dropping a commissar into the command game squad would then change the squad name of the command game squad to be commissar.
On advice from Colen tried removing the commissar unit's squad name and added: squad.notes = squad.notes & "(+commissar)" The commissar's squad name changes to the default of '40k unit' with '(+ commissar)', when the squad is dragged into another the squad names changes to: 40k unit (+ commissar) Changing the script to squad.name produces the same effect |
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
At 04:00 PM 2/12/2006 -0500, you wrote:
>Was playing trying to ensure that the existing squad name did not >get over written when a new suqd was dropped in, i.e. to use the >running examples of the IG files, dropping a commissar into the >command game squad would then change the squad name of the command >game squad to be commissar. > >On advice from Colen tried removing the commissar unit's squad name and added: > >squad.notes = squad.notes & "(+commissar)" > >The commissar's squad name changes to the default of '40k unit' with >'(+ commissar)', when the squad is dragged into another the squad >names changes to: > >40k unit (+ commissar) > >Changing the script to squad.name produces the same effect Thanks, I'll check this out. -- Colen McAlister (colen@wolflair.com) Chief Engineer, Lone Wolf Development http://www.wolflair.com/ |
#2 |
|
|