Skip to content
User Avatar
#3374
Auto-translated
I think I wrote everything correctly, but it gives an error: "Not enough arguments 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');