HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Since when Locust-ed units trigger region enter/leave events?

02-16-2006, 02:57 PM#1
Vexorian
I am afraid it is one of those lame surprise changes that came with a patch cause I remember they didn't use to trigger those events , I am talking about units with 'Aloc' , even Locust Swarm's locusts do now
02-16-2006, 03:04 PM#2
Blade.dk
They have always done. Really, I had that problem in my first real good map that I made 1½ year ago. It is not new.
02-16-2006, 03:11 PM#3
shadow1500
They activate those events but dont work with EnumUnitsInRect/Range i think
02-16-2006, 03:14 PM#4
Vexorian
Still it is weird that they don't activate other unit's range events.

Edit:
Collapse JASS:
function CanBeTeleported takes unit u returns boolean
    return GetUnitAbilityLevel(u,'Aloc') == 0 and GetUnitMoveSpeed(u) > 0
endfunction

Old function used in VexHA by enter/leave rect events. Hmnn seems I already knew this, it is incredibily lame though that I didn't note how dangerous it is for the caster system, I have to fill its readme with warnings