the problem is, that im using a custom wandering ability. not an ability in the object editor, but an ability that is created through triggers. whoever got this ability, will be moving around aimlessly, but not without some guidance. on my map, there are several roads and intersections that they will walk upon. i have created my triggers such that they never move away from the roads. but the real problem is that it lags too much whenever this ability trigger is run. I have it on Time - Periodic Time event, and each time it starts ordering units around, the whole map lags for a bit. and when you exit the game after a while, the screen goes black like in wc3 and you have to wait for like a minute or so before you can do something again. i know that these triggers are the problems, because when i disabled them, there wasnt any of this phenomenon.
the triggers check for tile-type conditions, and i dont know if these causes lag or memory leak, i know that Unit group actions leaks, but i have enabled bj_wantDestroyGroup so they wont, i think (i know how and where to put bj_wantDestroyGroup so dont tell me).
im not sure about this memory leak thing, could be something else but it sure is annyoing if you want to play the map and it lags every 8 sec and takes a minute to exit the game afterwards.
thats why i want some other way to work with these triggers.
also i wouldnt want the lag, cuz then you cant have any longer games on the map.
plz help