im trying to make a capture the flag kind of thing where when i go close to a building it becomes mine after a certain amount of time. i have made a trigger that changes the building to the player of the unit that went within range of it but now im trying to make it so that if my unit left the location before it became mine then it would no longer become mine. also if anyone knows how to make it so that if someone else had a unit there the building would become neither of ours until one went away.
hope someone can help
hope someone can help