Перейти к содержанию
Аватар пользователя
#3376
function portals()
   SetObjectPosition ('Duncan',121,123,-1,4);
   AddHeroCreatures("Duncan", 1, 3)
 for i=1, 179 do
 if GetHeroCreatures('Duncan',i)>=1 then
 RemoveHeroCreatures('Duncan',i);
 end;
 end;
   end;
   Trigger( OBJECT_TOUCH_TRIGGER, 'PORT_1','portals');

Такая же ошибка - "Nor enough argument when calling function GetHeroCreatures".