the nexus is used to make all the unit act like one, much like a hive behaviour, you dont need to add it to each unit, there should be only one nexus for each swam
the nexus is an invisible object, it should be invincible, the nexus must have aggregate health, this will ensure it dies when all it's spawned unit dies
spawn templates should not have replication (it will automatically cycle to the beginning once it gets to the bottom of the list)
if you set exit budding to no then the tanks will appear from where the center of the nexus object is (the center of your swam in theory)
having implemented this code i think it should be used with caution, 9 of these mob units will equate to 45 vehicles !!!! each vehicle will posses exactly the same amour and health rating as it original template, instant tank rush anyone (i personally think that the spawn template should point to a new unit that has significantly reduced health over the original unit)
|