Hello, I am new to the forums. I apologize if what I am asking is covered in another thread or in a tutorial I missed.
Thanks to the numerous tutorials on this site I've made alot of head way into making my first map. Right now I've hit a stumbling block on my triggers for creating units.
I had planned to create units by checking for the continued existance of serveral buildings (one for each player) inside the base. If the existance was confimed, then a set of units is produced for the allied AI, then I hoped to send them off to fight the enemy. 5 upgrades are available, so I can give more and better units after the upgrade.
I felt like I made a trigger than would successfully work, for the first level of the building. I used a boolean comparison to check to see if the particular building was still alive, then had the even make the units I want. (I still need to figure out how to force the AI to send them out to die, but that's not my only problem right now).
But then I thought, what about when the player upgrades the building? There's not a way for me to check for a building being alive if it doesn't exist yet (to my knowlegde).
I struggled looking for a condition that would work like, if unit is upgraded to X, but I didn't find any option like that.
Any advice you can provide is appreicated
Thanks to the numerous tutorials on this site I've made alot of head way into making my first map. Right now I've hit a stumbling block on my triggers for creating units.
I had planned to create units by checking for the continued existance of serveral buildings (one for each player) inside the base. If the existance was confimed, then a set of units is produced for the allied AI, then I hoped to send them off to fight the enemy. 5 upgrades are available, so I can give more and better units after the upgrade.
I felt like I made a trigger than would successfully work, for the first level of the building. I used a boolean comparison to check to see if the particular building was still alive, then had the even make the units I want. (I still need to figure out how to force the AI to send them out to die, but that's not my only problem right now).
But then I thought, what about when the player upgrades the building? There's not a way for me to check for a building being alive if it doesn't exist yet (to my knowlegde).
I struggled looking for a condition that would work like, if unit is upgraded to X, but I didn't find any option like that.
Any advice you can provide is appreicated