Auto-translated
Maybe, SetObjectEnabled / HERO_TOUCH_TRIGGER has a negative effect on heroes. After all, the trigger was added in 3.1, which means that no one has fixed the bugs found during its existence.
It could also be that a function like AddObjectCreatures slows down the game and partially blocks the interface (as in RM).
Or maybe the scripts just take a long time to load.