Hi,
I am trying to make a trigger by which a unit may use an ability and upon doing so, a dialog box appears. This is all the ability does. The Dialog has three buttons. When one of the buttons is pushed, the unit is removed and replaced with a new unit, as selected by the dialog button. However, I am not sure how to implement this and make it so only the unit who casted the ability will be replaced, and not all of the other units selected by the player.
Thanks
I am trying to make a trigger by which a unit may use an ability and upon doing so, a dialog box appears. This is all the ability does. The Dialog has three buttons. When one of the buttons is pushed, the unit is removed and replaced with a new unit, as selected by the dialog button. However, I am not sure how to implement this and make it so only the unit who casted the ability will be replaced, and not all of the other units selected by the player.
Thanks