Hello there,
I am trying to create specific units in a unit group to be revived at the position of their death.
As you see player 12 brown are my citizens when they are attacked they change to dark green which is my evil force to fight back. I have this part working now where I am stuck here is when the unit dies it does not create the unit that died for player brown at the position of where it died. Nothing happens this is where I am having trouble trying to get this part to work.
The reason why I have these units added to attackedcitizen which is a variable unit group is because my forces of evil will have many different type of units and I only want the units that were originally from brown to be recreated which is why I created the unit group. Hopefully someone can help me out!
I am trying to create specific units in a unit group to be revived at the position of their death.
As you see player 12 brown are my citizens when they are attacked they change to dark green which is my evil force to fight back. I have this part working now where I am stuck here is when the unit dies it does not create the unit that died for player brown at the position of where it died. Nothing happens this is where I am having trouble trying to get this part to work.
The reason why I have these units added to attackedcitizen which is a variable unit group is because my forces of evil will have many different type of units and I only want the units that were originally from brown to be recreated which is why I created the unit group. Hopefully someone can help me out!