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.
I have a question. Let's say, according to the plot, the hero has to choose which path to take. If he goes down a certain road, his army will decrease each day. This can be done using New_day_trigger. Let's assume that in this case, the variable h is assigned the value 1. Then Trigger(NEW_DAY_TRIGGER, "hello") function hello() if GetDate(DAY) == 2 and h==1 then RemoveHeroCreatures(...); elseif GetDate(DAY) == 3 and h==1 then RemoveHeroCreatures(...); and so on end; end; but this way you have to write it for each day. Is there a way to reset the day count at a certain point so that you don't have to write so much?
Well, if your variable h=1, then it will remove part of the army every day. And there's no need for these complicated things with determining the date. If you don't want this feature, just change the value of h to anything other than one.