I'm trying to make a builder unit for a tower defense game, and I want my builder to be able to pass through my towers without allowing the enemies to be able to pass through my towers, but I don't want my builder to be able to leave the general area of the base by climbing the cliffs around the base.
I've tried toying with the collision flags, but if a unit has -ANY- ground collision flags checked, then that unit won't be able to pass through my towers' pathing footprints. However, I want to keep my builder in its base by using cliffs and the "Unused (Land 07)" collision flag.
I need my towers to have a pathing footprint so that the enemy mobs can intelligently move through the players' defenses, so the only way for my builder to be able to move through my towers would be to give the builder a flying mover.
So, unless I've gotten something wrong here, I need a pathing blocker that only blocks flying units. I've already found the "No Fly Zones", but those are circular. I just want to make a rectangular border around each base that flying units cannot cross without placing hundreds of No Fly Zones or using triggers to leash units.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there really no way to block air pathing without blocking ground pathing other than the No Fly Zones? Someone has to know!
I'm trying to make a builder unit for a tower defense game, and I want my builder to be able to pass through my towers without allowing the enemies to be able to pass through my towers, but I don't want my builder to be able to leave the general area of the base by climbing the cliffs around the base.
I've tried toying with the collision flags, but if a unit has -ANY- ground collision flags checked, then that unit won't be able to pass through my towers' pathing footprints. However, I want to keep my builder in its base by using cliffs and the "Unused (Land 07)" collision flag.
I need my towers to have a pathing footprint so that the enemy mobs can intelligently move through the players' defenses, so the only way for my builder to be able to move through my towers would be to give the builder a flying mover.
So, unless I've gotten something wrong here, I need a pathing blocker that only blocks flying units. I've already found the "No Fly Zones", but those are circular. I just want to make a rectangular border around each base that flying units cannot cross without placing hundreds of No Fly Zones or using triggers to leash units.