Connection ErrorBad RequestThis page went staleSession 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.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Hello, I haven't been doing mapmaking in Heroes for 4 months, but I decided to get back to it. However, even with the simplest scripts, I'm having trouble.
Here's the script:
function gloriaF ()
if HasArtefact ("RedHeavenHero04", 58);
then MessageBox (GetMapDataPath().."gloriaF.txt");
ChangeHeroStat ("RedHeavenHero04", STAT_EXPERIENCE 8000);
Trigger(OBJECT_TOUCH_TRIGGER, ”gloria”, nil );
else MessageBox (GetMapDataPath().."gloria1F.txt");
end;
end;
SetObjectEnabled(”gloria”, false);
Trigger(OBJECT_TOUCH_TRIGGER, ”gloria”, ”gloriaF” );
The encoding seems to be correct (I extracted the "name" file from the map and kept changing and renaming it), but no matter how I tweak the script, it won't work. 4 months ago, I was writing much more complex scripts...
By the way, the first map is already ready. I just need to fix this script and I'll upload it.
Please help me fix the script (maybe I'm disabling the trigger too early, or I forgot a parenthesis).