Skip to content
User Avatar
#2243
Auto-translated
If he tries to move to an adjacent region (nearby) that activates a blocking region, the hero will pass through the block. However, if I modify the script for my own purposes, I can't pass through.
It should be easy to prevent this. There doesn't seem to be a parameter in REGION_ENTER_AND_STOP_TRIGGER that specifies the player number, but you can easily check the hero's affiliation when he enters the region.
Moreover, in this case, I need to limit the area of one computer-controlled hero without affecting other heroes belonging to the same player.
Oh, if that's the case... Hmm, yes, that's a problem. I need to think about it.
 

К А
Стикеры GBF в Telegram