function TeleportDemon(hero)
if GetCurrentPlayer()==1 then
SetObjectPosition('имя атакующего героя',x,y,номер уровня);
sleep(2);
MakeHeroInteractWithObject('имя атакующего героя',hero);
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER,'имя региона','TeleportDemon')