In my map I have a building that after 5 minutes of being captured turns into another building by using mana as a sort of countdown timer. This has worked perfectly, until a new system I'm developing in my map requires the mana of the building to represent something else, so I have to find an alternative.
The most simple way I could think of as an alternative was attaching a unit expiration timer to this captured unit set for 300 seconds and then turning into another building when the expiration timer expires. It would be better than using a wait 300 seconds action because the expiration would stop if the building was captured by another player. However, no event that I know of detects when a unit expiration timer ends. Any ideas?
The most simple way I could think of as an alternative was attaching a unit expiration timer to this captured unit set for 300 seconds and then turning into another building when the expiration timer expires. It would be better than using a wait 300 seconds action because the expiration would stop if the building was captured by another player. However, no event that I know of detects when a unit expiration timer ends. Any ideas?