Skip to content
User Avatar
#3175
Auto-translated
Navkratis
Good afternoon, I decided to use a script for the first time, and, of course, it didn't work:o Please tell me what's wrong here? (the idea is to display a text message at the beginning of the game):
Trigger(NEW_DAY_TRIGGER, "hello")
function hello()
if GetDate(DAY) == 1 then
then MessageBox(GetMapDataPath().."message.txt");
end;
Have you tried passing the turn? Your script doesn't work at the beginning of the game right now, but after a turn, as the daily trigger only runs the functions from the turn following the initial one.

Added 2 minutes ago
Navkratis
Good afternoon, I decided to use a script for the first time, and, of course, it didn't work:o Please tell me what's wrong here? (the idea is to display a text message at the beginning of the game)
Just write MessageBox(....); in the script without any functions.
С уважением, }{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