| 05-21-2007, 07:04 PM | #2 |
In future you can use [ trigger ] tags to make it easier to read. Remove this line: Custom script: call RemoveLocation(SpawnP) |
| 05-21-2007, 07:06 PM | #3 |
Won't it leak then? |
| 05-21-2007, 07:13 PM | #4 |
no it won't because you set the local location equal to an existing, so there won't be created a new location, which would leak. |
| 05-21-2007, 07:15 PM | #5 | |
Thx Fireeye and Blu da noob, it works perfect now, Do i have to null the unit? Quote:
Sorry for being a nub.. I've read that peace of information now... |
| 05-21-2007, 07:39 PM | #6 |
Nulling is fine, just dont destroy/remove/kill it when it's pointing to a global. You should move it to the bottom of the trigger though (after the loop). |
| 05-21-2007, 07:41 PM | #7 |
In future you can just edit your posts instead of double posting. And you do need to null the unit variable. And the location too at that. |
