| 01-20-2005, 12:05 AM | #1 |
Allright I don't know much about memory leaks so i can't answer this question, but I'm making a maze and just thought of an easier way to keep people from starying from the path instead of regions and the Unit Enters Region Function. If I took a Shade or any unit and gave it the invis ability and then edited it so it isnt able to move anywhere and then place the modified shade around the pathing so that the one collision detection trigger i have will cover the map and i wont have over 500 regions. My question is whether or not this will leak memory and if so will it leak a lot more? If this is a stupid question feel free to tell me or delete the thread if your a moderator. Answered the question myself after finding an explnation of memory leaks so thx to all who elped me. :\ |
| 01-25-2005, 04:59 PM | #2 |
Guest | Actually I read the tutorial on memory leaks and didn't understand all that I wanted to. Can you please tell me what you found? |
| 01-25-2005, 05:08 PM | #3 |
i know nothing of JASS, but it seems to me that you can easily place pathing blockers (invisble doodads) along the paths... |
| 01-25-2005, 06:15 PM | #4 |
It won't leak if just put the unit in the editor and not by triggers. But as darkhorde said, it would be much better if you used pathing blockers. But if you use that, your workers wont be able to move over the monsters path, unless you don't have any flying spawns, only uses the pathing blockers (ground only) and the make your builders(or whatever) flyers. |
