Skip to content
User Avatar
#3376
Auto-translated
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');

The same error occurs - "Not enough arguments when calling function GetHeroCreatures".