Hello, could you please help me? I'm having a problem with this part of the script.
function fb1()
RemoveHeroCreatures("RedHeavenHero03", 8, 20);
sleep(1);
RemoveHeroCreatures("Biara", 20, 1*D);
sleep(1);
StartDialogScene("/Maps/SingleMissions/Warprolog/StartScene2/DialogScene.xdb#xpointer(/DialogScene)");
sleep(1);
MoveHeroRealTime("Biara", 88, 59, GROUND);
sleep(1);
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "stfb1", "fb1", nil);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "stfb1", "fb1");
The problem is that after Biara makes her move, this cutscene, StartScene2, plays a second time, specifically within this trigger. There are no other mentions of it. If anyone understands, please tell me what might be the cause. I've been racking my brain over this.
At the very least, the highlighted red section of code is not needed. And it's better to reset the trigger before other operations.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________