Skip to content
User Avatar
#3181
Auto-translated
Navkratis
I replaced the day with the first and added a semicolon to the last end, but nothing changed.

Trying to make this message is my first and only script :) , before that, for a week, I was working on the landscape and didn't run any script editors, so I don't know what exactly it's complaining about.
Open the script and write:
--Map script
path=GetMapDataPath();

MessageBox(path.."message.txt");
function newday()
if GetDate(DAY)==1 then
MessageBox(path.."message.2.txt");
elseif GetDate(DAY)>1 then
MessageBox(path.."message.3.txt");
end;
end;

Trigger(NEW_DAY_TRIGGER, "newday");
This script displays the message "message.txt" at the beginning of the game, the message "message.2.txt" on the next day, and the message "message.3.txt" on all other days.
Go to these links and read the manuals
https://docviewer.yandex.ru/view/0/?*=jKK4Rd1sHKLitso%2FwrU8h1mEs0B7InVybCI6Imh0dHA6Ly93d3cuaG1tcC5ydS9fbGQvMS8xMDFfNV8xLnBkZiIsInRpdGxlIjoiMTAxXzVfMS5wZGYiLCJub2lmcmFtZSI6dHJ1ZSwidWlkIjoiMCIsInRzIjoxNTg4Mzk5MTUxMTg2LCJ5dSI6IjI2NTAzMTI2NjE1ODgwNjEyMTIiLCJzZXJwUGFyYW1zIjoibGFuZz1ydSZ0bT0xNTg4Mzk5MTQ1JnRsZD1ydSZuYW1lPTEwMV81XzEucGRmJnRleHQ9aG9tbSs1KyVEMSU4MCVEMSU4MyVEMCVCQSVEMCVCRSVEMCVCMiVEMCVCRSVEMCVCNCVEMSU4MSVEMSU4MiVEMCVCMiVEMCVCRSslRDAlQkYlRDAlQkUrJUQxJTgxJUQwJUJBJUQxJTgwJUQwJUI4JUQwJUJGJUQxJTgyJUQwJUIwJUQwJUJDJnVybD1odHRwJTNBLy93d3cuaG1tcC5ydS9fbGQvMS8xMDFfNV8xLnBkZiZscj0yMTMmbWltZT1wZGYmbDEwbj1ydSZzaWduPTc5ZWY5YzI3Mzk4YzY1ODQ5YmI2ZDNiOGU5MjIyMjc5JmtleW5vPTAifQ%3D%3D&lang=ru

Here's another one: https://www.youtube.com/results?search_query=%D0%BA%D0%BA+%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C+%D1%81%D1%86%D0%B5%D0%BD%D0%B0%D1%80%D0%B8%D0%B9+%233+homm+5

After reading the manual and watching all the videos, come back here. Also, a few messages ago, there's a link to Novikov's manual, read it too.

Added 5 minutes ago
And to start, download the archive from here https://yadi.sk/d/W6cz5UBu3SGAvb
Unzip it, move the entire folder to your desktop, open the folder Practice => Homm5MapScriptsEditor, run the program, and open the map.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics

Welcome our newest member: leyu