Skip to content
#913
Auto-translated
Heroist
No, I'm not that clueless about scripts.
Here's the full file path:
('/Maps/SingleMissions/NewRandomMap21/CombatScript.xdb#xpointer(/Script)')

It's strange, but it seems like the path is incorrect:
SetHeroCombatScript(hero1, '/CombatScript.xdb#xpointer(/Script)')
The problem is that the full path should not be /Maps/SingleMissions/NewRandomMap21/CombatScript.xdb#xpointer(/Script), but rather /CombatScript.xdb#xpointer(/Script), meaning the xdb file should not be in any folder at all.

Here's an example of what the map archive should look like.

Statistics

Welcome our newest member: dodoD0D0

Users Online 2 users 1384 guests