Skip to content
User Avatar
#3842
Auto-translated
Azgalor
Oops, I messed up with the video playback – I fixed the function from the previous post, as well as the checks for spawn conditions, quest completion, and new video playback. Check it in the game and see what the console outputs if the quests still don't update.

My apologies for the rather rude message above.
I won't be able to check it right now. I wrote a script to check if Vittorio is still alive, and if not, the video starts playing. But again, I doubt this script will work... frown

Christian = 0 --I write this at the beginning of the script
function ChristianDeath()
if (heroName == "Christian") and Christian ~= 1 then
StartDialogScene("/DialogScenes/FallenKnight/S3/DialogScene.xdb#xpointer(/DialogScene)")
SetObjectiveState("prim5", OBJECTIVE_COMPLETED, 1)
SetObjectiveState("prim6", OBJECTIVE_ACTIVE, 1)
elseif (heroName == "Christian") and Christian == 1 then
print("Did Vittorio capture the Castle?")
end;
end;

Trigger(PLAYER_REMOVE_HERO_TRIGGER, PLAYER_2, "ChristianDeath")

Мои карты:
Падший рыцарь
Сердце Хаоса

Мои моды:
Визуальные:
Изменение внешнего вида героев-некромантов
Существа-жители и кое-что по мелочи в городах Ордена Порядка, Некрополиса и Инферно

NCF-существа:
Странствующие рыцари
Наемники

Statistics

Welcome our newest member: leyu