Every new unit I've added to my Warcraft MOD spawns a duplicate of itself when training is complete. Does anyone know what causes this and how I might go about fixing it? I've tried making a new unit from scratch and adding it to a train ability and the same thing happens.
Examine your Train ability for anything out of the ordinary. Within each command for which unit to train, there is an array that can specify one or more units. Maybe you have two units specified or maybe there's a field in there somewhere that says how many units to make.
It's possible that you duplicated the train command for Zerglings or something and you're getting two units because it's doing whatever it does when you train a Zergling and get two of them.
Can't give a better reply right now, but maybe that'll set you on your way.
I ended up replacing slots in train commands that I didn't need like Bestiary and spirit lodge. If I used a slot that was previously unused in any ability pre-made or otherwise, I'd get the same thing.
Every new unit I've added to my Warcraft MOD spawns a duplicate of itself when training is complete. Does anyone know what causes this and how I might go about fixing it? I've tried making a new unit from scratch and adding it to a train ability and the same thing happens.
Examine your Train ability for anything out of the ordinary. Within each command for which unit to train, there is an array that can specify one or more units. Maybe you have two units specified or maybe there's a field in there somewhere that says how many units to make.
It's possible that you duplicated the train command for Zerglings or something and you're getting two units because it's doing whatever it does when you train a Zergling and get two of them.
Can't give a better reply right now, but maybe that'll set you on your way.
I ended up replacing slots in train commands that I didn't need like Bestiary and spirit lodge. If I used a slot that was previously unused in any ability pre-made or otherwise, I'd get the same thing.