ai types are automatically given upon creating a unit, so for example if you spawn a lamia unit it will automatically be given its specific type of ai