Auto-translated
Question: I placed a region near player 2's Castle and named it vyhod1. I want to prevent anyone from leaving through it, so I want to block this region. I'm writing:
SetRegionBlocked(vyhod1, true, 2);
But it doesn't work, and the hero can still move through it. What's wrong?
SetRegionBlocked(vyhod1, true, 2);
But it doesn't work, and the hero can still move through it. What's wrong?