Added 51 minutes ago
It opens, but it doesn't accept the fog_of_war code. It displays an error in red. Can someone explain what "ClearCircleFog(parameters)" is? What are the parameters? Where can I find them?
Added 8 minutes ago
I've found something: Map Revelation
For example: @OpenCircleFog(0, 0, 0, 9999, PLAYER_1);
...reveals the above-ground map for the red player in the client, the only player in the game that is not a scenario. In single-player scenarios and campaign missions, you are always PLAYER_1, regardless of the color. @OpenCircleFog(0, 0, 1, 9999, PLAYER_1);
...reveals the underground map for PLAYER_1; the changed variable is the third 0.
Here's how the colors correspond to the player numbers in the game, for your single player, custom games: Red 1 Blue 2 Green 3 Yellow 4 Orange 5 Teal 6 Purple 7 Brown 8
So, the code is: @OpenCircleFog(0, 0, 0 or 1, 9999, PLAYER_1), where 9999 is the radius around the specified coordinates;
But it doesn't work! Is there a way to add a cheat menu to the game, like in Heroes of Might and Magic III?
Будьте осторожны со своими желаниями. Иногда они исполняются.