Connection ErrorBad RequestSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
How is this possible?
I've already used something similar in previous maps, and it worked:
function loserF(heroname1, heroname2)
if heroname1=="Segref" then
Loose();
end;
end;
Trigger(2, 1, "loserF");
The only difference is that now the losing hero is controlled by the computer, not a human.
I'm a bit slow, and I don't quite understand how this function works. I've never used startThread before. Grok is killed almost at the very end of the game; won't this somehow slow down the game? Couldn't you do something similar using NewDayTrigger?
Hooray, it seems to have worked! Thank you. I've made some slight modifications to the function; I hope it's still correct. function checkGrok() while (gro==0) do sleep(10); if (IsObjectExists("Grok")==nil) then gro=1; SetObjectiveState("Sec17", 3, 1); sleep(3); ... end; sleep(5); end; sleep(5); end;
is executed, it produces the error "not found static shared". What could be the problem?
The path is written incorrectly: the slashes are in the wrong direction, and .xdb#xpointer(/AdvMapStaticShared) is missing. Wouldn't it be easier to create an effect instead of a static object?
The path is written incorrectly: the slashes are in the wrong direction, and .xdb#xpointer(/AdvMapStaticShared) is missing. Wouldn't it be easier to create an effect instead of a static object?
Can an effect be attached to a building or creature? "/MapObjects/Effects/Glow/ArtifactGold.xdb#xpointer(/AdvMapStaticShared)" also doesn't work, nor does it work without the slash at the beginning of the path. Okay, I figured it out: "/MapObjects/Effects/Glow/ArtifactGold.(AdvMapStaticShared).xdb#xpointer(/AdvMapStaticShared)." It's so convoluted! Thanks to everyone.
Мои карты: Town Готовится:Чума (40%), Сосиска(42%), Война Грааля
In general, the function works as it should. But the 4th parameter, which is specified as the path to the dialogue text in ValexAV's guide, stubbornly does not display this text. If I specify the same path in another parameter, it will be displayed there. I used Dyrmana's "Journey" map as a basis, its code: