| 10-29-2003, 04:14 PM | #1 |
I cant figure out how to select groups of buildings. I'm trying to have a trigger that selects all units and turns collision off, but it wont work on buildings. The only way i can think of to turn off any buildings collision is to set it to a variable, but this is completely impractical in a map with 50+ building types and many more total buildings. Any ideas? |
| 10-29-2003, 04:27 PM | #2 |
cant u just set it to a unit group? |
| 10-29-2003, 04:46 PM | #3 |
Buildings don't have collision size, do they? They use pathing textures... |
| 10-29-2003, 06:13 PM | #4 | |
Quote:
Your partially right, they do have collision, but generally the colision is SMALLER than the pathing map so its not noticed. But Ligature is correct, if you want buildings to be pathable (walkable) the way to do that is to set their pathing map to "NONE" or change their pathing map to one that has walkable. |
| 10-29-2003, 11:41 PM | #5 |
if i take away the pathing map when i try to build the building it will just do the old fatal error. Im confused by 'pathable/walkable'. Let me explain where im coming from. I have a tower defense-like map that uses heros and on certain levels the collision for all buildings would be turned off, creating an enfo-like play style but with towers still there helping. Ive tried a pick all units in playable map area - turn collision of for picked unit - but that doesnt work on buildings. |
| 10-29-2003, 11:46 PM | #6 |
Then don't take away the pathing map, CHANGE the pathing map, instead of a map you can't walk through, change the pathing to one that is unbuildable but is still walkable, and poof, you have a walkable building that still has a pathing map. I will repeat turning colision off for buildings does not do anything.. You should also add to the "targeted as" the one "walkable". |
