I' m trying to make a unit which uses ground collision but can move through buildings (for example, if a path is blocked by a line of buildings, it can move through them).
The problem i am having is that when i give the unit an order to move from point A to point B, and the shortest path is "blocked" by some buildings, the game does not realize that the unit CAN move through buildings, but tries to find an alternative path to get to point B even if it is much longer.
If such path doesn't exist, the unit moves towards the buildings but it stops in front of them.
The only way to make the unit actually move through buildings is to manually order it to "follow" the building (right click on them) and it passes through.
The problem is that this unit it' s supposed to be used by the cpu in my map..
Thanks.
Nite
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
I' m trying to make a unit which uses ground collision but can move through buildings (for example, if a path is blocked by a line of buildings, it can move through them).
The problem i am having is that when i give the unit an order to move from point A to point B, and the shortest path is "blocked" by some buildings, the game does not realize that the unit CAN move through buildings, but tries to find an alternative path to get to point B even if it is much longer. If such path doesn't exist, the unit moves towards the buildings but it stops in front of them.
The only way to make the unit actually move through buildings is to manually order it to "follow" the building (right click on them) and it passes through. The problem is that this unit it' s supposed to be used by the cpu in my map..
Thanks.
Nite