- Joined
- Oct 31, 2013
- Messages
- 55
Hi
I have created a TD which features a bonus wave with alot a HP so you can't kill them before they reach the end point.
When a creep reaches the end point a variable is set to store the amount of HP the creep have lost and the creep will be removed by "Remove triggering unit from the game".
Normally(99% of the time) it works great. Some times a creep is only "partly removed" as the variable is stored and the creep is visual removed, but an invisable unit attacks one of the towers and the game continues after the tower is dead.
I have tried to kill the creep and then removing it but it doesn't help. The only thing the towers that are being killed have in common is damage over time that are applied to the creeps on attack(like poison damage)
Are there some limitations when using Remove triggering unit from the game?
I have created a TD which features a bonus wave with alot a HP so you can't kill them before they reach the end point.
When a creep reaches the end point a variable is set to store the amount of HP the creep have lost and the creep will be removed by "Remove triggering unit from the game".
Normally(99% of the time) it works great. Some times a creep is only "partly removed" as the variable is stored and the creep is visual removed, but an invisable unit attacks one of the towers and the game continues after the tower is dead.
I have tried to kill the creep and then removing it but it doesn't help. The only thing the towers that are being killed have in common is damage over time that are applied to the creeps on attack(like poison damage)
Are there some limitations when using Remove triggering unit from the game?