Skip to content
#201
Auto-translated
I forgot something:
SetObjectEnabled("gloria", nil);
function gloriaF(heroname)
if HasArtefact("RedHeavenHero04", 58) = true then
MessageBox(GetMapDataPath().."gloriaF.txt");
ChangeHeroStat("RedHeavenHero04", STAT_EXPERIENCE, 8000);
Trigger(OBJECT_TOUCH_TRIGGER, "gloria", nil);
else MessageBox(GetMapDataPath().."gloria1F.txt");
end;
end;
Trigger(OBJECT_TOUCH_TRIGGER, "gloria", "gloriaF");
Although, it probably won't work. Could you provide a complete description of the quest with the scripts? I also have constant problems with if statements. I don't know how to deal with them.
Дайте мне всего шесть строк, написанных рукой самого честного человека, и я найду, за что его можно повесить.
Весьма хороший попутчик... До первого перекрестка.