Second thing, that I forgot to say about previously, is that if you want message on the first day of first week you have to wrote the command before function. Below is the code you need:
Code: Select all
MessageBox("Maps/Multiplayer/Alavris 1/wiad11111.txt"); -- only do this the first day function NewDayTrigger() if GetDate(DAY_OF_WEEK) == 1 then -- do this first day of every week. MessageBox("Maps/Multiplayer/Alavris 1/wiad22222.txt"); end; end; Trigger(NEW_DAY_TRIGGER, "NewDayTrigger");
Don't forget to change "Maps/Multiplayer/Alavris 1/wiad11111.txt" into yours text file name (and path!).
Ooooh, this Heroes V editor is so complicated....