Added 3 minutes ago
Why this trigger specifically? Or was it intended that entering a certain region would grant a Pelt?
Added 1 minute ago
Please provide the complete function; there might be an error somewhere.
The script only doesn't work with the Pelt and only with the AI. With other artifacts, and if the hero is controlled by the player, everything works fine.
function AshaTest()
GiveArtefact("Pelt", 53);
GiveArtefact("Pelt", 47);
MessageBox(GetMapDataPath().."AshaText.txt");
end;
function AshaTest2()
GiveArtefact("Eruina", 53);
GiveArtefact("Eruina", 48);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "GiveArtTestReg", "AshaTest");
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "test1", "AshaTest2");