Skip to content

The script is not working.

User Avatar
#2
Auto-translated
Michel_Darina
Hello. I encountered an error with a script while testing my map:

SetRegionBlocked("blok2", 2, true);

It seems to be written correctly, but the region is blocked for player 1 as well. Can you tell me what is wrong with the script.

I am attaching my map.
The parameters are specified in the wrong order. The blocking status should come first, followed by the player number:
SetRegionBlocked('blok2', true, 2)
Нет войне.