Auto-translated
Another question. I'm creating a script so that when a player uses a pointer, it shows a point and teleports them there, while also changing a building with monsters (asa) and removing a town (fuu), archangels (del4), and another building (gr), and finally, a message appears.
Here's the script:
function susha (heroname)
OpenCircleFog(109, 119, 0, 20, 7)
SetObjectPosition("Ving", 105, 109);
ReplaceDwelling("asa", 3, 74);
RemoveObject("del4");
RemoveObject("fuu");
RemoveObject("gr");
MessageBox ("/Maps/SingleMissions/Ch5M1/alarm.txt");
Trigger(OBJECT_TOUCH_TRIGGER, "musha22", nil);
end;
Trigger(OBJECT_TOUCH_TRIGGER, "musha22", "susha");
So, after using the pointer, I am teleported, the building changes, the structure changes, the archangels are removed, but the other 2 buildings (the town and the building with creatures) are not removed. Also, the message doesn't appear, but I think it's because of the part that's supposed to remove the town/building not working, because when I move the part with the message above that, it appears. Please tell me what's wrong. Version 3.0 or 3.1 (Tribes of the East).
I also tried to destroy the building, but it didn't work either.
Added 2 minutes ago
Thank you for the answer, also, please tell me how to explore the map? The mod is downloaded (All_campaigns.data.h5u). Is this it? I opened all the missions