Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5969
Auto-translated
IchGViji
Hello everyone!
I have another question that I haven't found an answer to yet - how can I prevent artifacts from being transferred to the player after defeating an enemy hero? I understand how to do it within the same player - the 'untransferable' property - but unfortunately, it only works if I want to exchange artifacts between my own heroes.
The only option that comes to mind is to remove specific artifacts after the battle, but that seems like a workaround...
SetHeroLootable(<enemy hero name>, nil) should do just that, but I haven't tested it.