Auto-translated
Alinksolo, I'm curious, have you tried to find an answer to your question in any way? For example, by reading the list of functions from the developers. And maybe you would have noticed "AddHeroCreatures" with your own eyes. How would you translate that? 🤔 I don't know. But question number 2 would be solved.
And question number 1 would also be solved if you just thought about it and knew what triggers are.
1. In the quest properties, set OBJECTIVE_KIND_MANUAL.
In the script:
function ReachRegion(hero)
if hero=="Hero Name" then
SetObjectiveState("Scripted quest name", OBJECTIVE_COMPLETED)
sleep(20)
Win()
end
end
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Region Name", "ReachRegion")
2. AddHeroCreatures("Hero Name", ID, quantity)
And question number 1 would also be solved if you just thought about it and knew what triggers are.
1. In the quest properties, set OBJECTIVE_KIND_MANUAL.
In the script:
function ReachRegion(hero)
if hero=="Hero Name" then
SetObjectiveState("Scripted quest name", OBJECTIVE_COMPLETED)
sleep(20)
Win()
end
end
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Region Name", "ReachRegion")
2. AddHeroCreatures("Hero Name", ID, quantity)
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________