instead of soundname, you need to specify the path to the sound file.
Question: what file format? Which folder should the file be placed in so that the path can be specified?
Added 1 hour 6 minutes ago
function firststepsF1(heroname)
if heroname == "biara"
then MessageBoxForPlayers(GetPlayerFilter(GetCurrentPlayer()),GetMapDataPath().."firststeps1.txt");
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "firststeps1", nil);
else sleep(1)
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "firststeps1", "firststepsF1")that damn trigger isn't being called. I step on the region and nothing happens.
I'm already tired. It gives an error about attempting to make nil.
The hero is Biara.
The region...
I did everything correctly, didn't I?

готовность 70% PAUSED