Auto-translated
This happened in the "In the Wake of Gods" campaign, in the "Tribes of the East" faction, in the third mission. There, knights fought each other on a bridge.
New here? I'm Roha — want a quick tour?
I was trying to make it for the single-player mode, but it didn't work. The other scripts play fine, but these ones don't.
What exactly is happening? Is nothing playing at all, or are the monsters just standing still and returning to their original position?
If it's the latter, then the monsters either don't have the corresponding animation or the animation set for the arena isn't specified in the monster's settings.
What does the console say?
I was trying to make it work for the single-player mode, but it still didn't work. All the other scripts play correctly, but these ones don't.
Maybe these scripts are interfering? Show the complete script.
I need a script that will cause the mission to fail after the hero dies. Thanks in advance.
When editing through the map editor, it crashes.
function alive()
while IsHeroAlive("script_hero_name") do
sleep(10)
end
Loose()
end
startThread(alive)
`
And the MapScript.lua file, where you need to write the script.
I think I did it, but it doesn't work. I inserted everything, wrote everything, but there's no effect.
Loose(Player, 1)it should beLoose()
-- or --
Loose(1)Everything else is done correctly.