Is the trigger's sender specified as something else?
In other words, should all triggers in the mod have an additional first parameter – the sender?
For example,
Trigger("NHF", OBJECT_TOUCH_TRIGGER, "mob", "handler_function")
Added 2 minutes later
Each unique sender can have its own trigger for a given event type and parameter (object, player, etc.).
If you override the trigger directly in the map, it works. With a different sender parameter. But you wouldn't rewrite the scripts of existing maps, would you?
Another question is about resetting the trigger, so that only the necessary one is reset. Would this be correct:
Trigger("NHF", OBJECT_TOUCH_TRIGGER, mob, nil);?
But if the trigger is reset in the map itself with Trigger(OBJECT_TOUCH_TRIGGER, mob, nil), wouldn't it affect all of them?
As I understand it, if the first parameter = nil, this is also a unique sender parameter.
I'm investigating delays and threads; they might be influencing things because the code itself seems correct.
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...