Hello everyone. I have a question about the script (in the screenshot). I don't know what else to do to make it work; the trigger doesn't activate it.
And is it possible to create a script that would automatically skip Player 2's turn on the first day? I couldn't find anything similar in the manuals, so I tried changing Player 2's MP value.
Please advise.
function MyFunc(var)
-- Some Lua code
print("Hello, ", var);
endYou can enable cheats from the script and skip the turn:
consoleCmd("enable_cheats")
consoleCmd("eot")A simpler way is to take away movement points from the hero:
ChangeHeroStat("Hero", HERO_STAT_MOVE_POINTS, -GetHeroStat("hero", HERO_STAT_MOVE_POINTS)
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________