A unit casts hide
create 1 dummyunit
order dummy unit to cast invis on triggering unit
remove dummy unit
order triggering unit to hold position
wait until order of triggering unit not equal to hold position, checking every .1 seconds
remove buff by type (invis) |