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.
Okay, here's the deal.
h=1; while h==1 do x, y = GetObjectPosition("Hero2"); MoveHeroRealTime("Hero3", x+1, y, -1); end; end; When I write it this way, the game freezes completely when launched.
h=1; function Moov() while h==1 do x, y = GetObjectPosition("Hero2"); MoveHeroRealTime("Hero3", x+1, y, -1); end; end; When I attach it to a function, there are no errors, but nothing happens.
h=1;
function Moov() while h==1 do x, y = GetObjectPosition("Hero2"); MoveHeroRealTime("Hero3", x+1, y, -1); end; end; Trigger (REGION_ENTER_AND_STOP_TRIGGGER, "reg", "Moov";) <---this is not a smiley, it's a closing parenthesis)) When entering the region "reg", the game freezes again. Could it be because of the "while" loop?
Мои карты: Town Готовится:Чума (40%), Сосиска(42%), Война Грааля