Skip to content
User Avatar
#3179
Auto-translated
Navkratis
In general, I looked at the comments the script editor was writing; it complained that another end should be added. Now the script looks like this:
Trigger(NEW_DAY_TRIGGER, "hello");
function hello()
if GetDate(DAY)==0 then
MessageBox(GetMapDataPath().."message.txt");
end;
end
At the bottom, it says "syntax successfully checked," but in the game itself, nothing still happens:(
P.S. When opening the map itself, even before I click MapScript.lua, the editor with an error sign says "An invalid character was found in text content" Line: 79392 < Item >, could this be the problem? But then what is it and how can I fix it?
What kind of person is this?) There is no 0th day (probably there is)!! If we don't take this into account, then there is no period after the second end.
Regarding the invalid character, run an error diagnostic - what object did you recently place on the map, and after what changes did it start to produce the error? Answer as detailed as possible.:D

Added 5 minutes later
Navkratis

At the bottom, it says "syntax successfully checked," but in the map itself, even before I click MapScript.lua, the editor with an error sign says "An invalid character was found in text content" Line: 79392 < Item >, could this be the problem? But then what is it and how can I fix it?
Probably, either you placed some kind of broken object, or you changed something in the object, and clearly, forgive me, this is not your level to change objects with scripts, so it's one of the two.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics

Welcome our newest member: artem

Users Online 1 users 1489 guests