You'll need to change the code a bit so that the object you build is persistent but spawns a second sort of object that spawns the tank and quickly dies. You need to apply the build limit to the first (persistent) object and have the tank fire a weapon upon death with a special damage type that kills the persistent spawner object as well, allowing you to build another (wich will, in turn, allow you to spawn another tank-spawning object).
|