I have highlighted in red where the error is most likely.
if HasArtefact ('Gottai' , 48) and HasArtefact ('Gottai' , 49) and HasArtefact ('Gottai' , 50) and HasArtefact ('Gottai' , 51) then
MessageBox ("/Maps/SingleMissions/NewRandomMap 23/town4.txt");
sleep (1)
SetObjectiveState ('obj4c', OBJECTIVE_COMPLETED)
SetObjectPosition ('Gottai', 11, 16, 0, 0)
RemoveArtefact ('Gottai' , 48)
RemoveArtefact ('Gottai' , 49)
RemoveArtefact ('Gottai' , 50)
RemoveArtefact ('Gottai' , 51)
qq = qq + 1
GiveArtefact ('Gottai' , 22)
RemoveObjectCreatures ('zast3' , 2, GetObjectCreatures ('zast3' , 2))
RemoveObjectCreatures ('zast3' , 4, GetObjectCreatures ('zast3' , 4))
RemoveObjectCreatures ('zast3' , 6, GetObjectCreatures ('zast3' , 6))
RemoveObjectCreatures ('zast3' , 8, GetObjectCreatures ('zast3' , 8))
RemoveObjectCreatures ('zast3' , 10, GetObjectCreatures ('zast3' , 10))
RemoveObjectCreatures ('zast3' , 12, GetObjectCreatures ('zast3' , 12))
RemoveObjectCreatures ('zast3' , 14, GetObjectCreatures ('zast3' , 14))
sleep (2)
if necrom == 1 then -- plohoi end
MessageBox ("/Maps/SingleMissions/NewRandomMap 23/townbad.txt");
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "htown1t", nil );
if GetObjectOwner ('htown1') == PLAYER_2 then
SiegeTown ('Gottai' , 'htown1');
Added 51 seconds ago
Most likely, the problem is that I am trying to remove creatures from the outpost when there are none there anyway. I will go in and check myself now.
Added 10 minutes ago
I found the error. The army is being removed from the outposts twice. It's strange that no one noticed it before. I will have to re-upload the map.
Player100 - thank you