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 do you access a specific value in a linear array? For example, how do you access the 3rd hero using GetPlayerHeroes?
Also, just like with any other array with indices:
heroes = GetPlayerHeroes(1); hero = heroes[3];
However, you need to keep in mind that in this function, the numbering starts from 0, i.e., to access the 3rd hero, you need to write heroes[2]. DarkLordax
I have a question regarding AdvMap. Is it possible to darken certain areas? I would like to implement something.
It's not entirely clear what you need. If you want to darken the lighting, it won't be possible to do it in specific areas; you can only change the global lighting using a script. For example, when crossing a region.
If you're talking about the fog of war, it's not possible to darken already revealed areas. You can only prevent the revealing of new areas using the SetWarfogBehaviour function.