Вроде все написал как нужно, но выдает ошибку "Nor enough argument when calling function GetHeroCreatures"
function portals()
SetObjectPosition ('Duncan',121,123,-1,4);
AddHeroCreatures("Duncan", 1, 3)
for i=1, 179 do
if GetHeroCreatures(i)>=1 then
RemoveHeroCreatures('Duncan',i);
end;
end;
end;
Trigger( OBJECT_TOUCH_TRIGGER, 'PORT_1','portals');