- Joined
- Jun 27, 2010
- Messages
- 2,770
I have a building that is made to have gold like the gold mine and workers to go inside and mine it.
Upon depletion usually the building destroyed itself instantly, but I WANT TO KEEP IT ALIVE.
So i thought about it and one idea is the spawn ability upon death, that will spawn a copy of the building but without gold ability and load+cargo ability. Problem is - what if enemy destroys it instead of getting depleted?
How to detect the difference?
Upon depletion usually the building destroyed itself instantly, but I WANT TO KEEP IT ALIVE.
So i thought about it and one idea is the spawn ability upon death, that will spawn a copy of the building but without gold ability and load+cargo ability. Problem is - what if enemy destroys it instead of getting depleted?
How to detect the difference?