Auto-translated
Let me try to write your script, and if the error persists, it will make sense to upload it.
Otherwise, I don't really know how to do it, but I'll figure it out if necessary.
I had a theory that the combat script is not placed in the map folder for no reason, based on this thread:
https://forum.heroesworld.ru/showthread. ... &page=60
https://forum.heroesworld.ru/showthread. ... &page=61
"The point is that the full path should not be /Maps/SingleMissions/NewRandomMap21/CombatScript.xdb#xpointer(/Script), but /CombatScript.xdb#xpointer(/Script), meaning the xdb file shouldn't be in the folder at all" (quote).
If the error remains, maybe that's the issue.
And if not, then it's my fault.
Thank you for spending time on me.
Added after 12 minutes
P.S., yes, the error remained. I will try to upload the files now.
Added after 7 minutes
Here:
https://disk.yandex.ru/client/disk/%D0%A1%D0%BA%D1%80%D0%B8%D0%BF%D1%82%D1%8B
Otherwise, I don't really know how to do it, but I'll figure it out if necessary.
I had a theory that the combat script is not placed in the map folder for no reason, based on this thread:
https://forum.heroesworld.ru/showthread. ... &page=60
https://forum.heroesworld.ru/showthread. ... &page=61
"The point is that the full path should not be /Maps/SingleMissions/NewRandomMap21/CombatScript.xdb#xpointer(/Script), but /CombatScript.xdb#xpointer(/Script), meaning the xdb file shouldn't be in the folder at all" (quote).
If the error remains, maybe that's the issue.
And if not, then it's my fault.
Thank you for spending time on me.
Added after 12 minutes
P.S., yes, the error remained. I will try to upload the files now.
Added after 7 minutes
Here:
https://disk.yandex.ru/client/disk/%D0%A1%D0%BA%D1%80%D0%B8%D0%BF%D1%82%D1%8B