Skip to content
#4307
Auto-translated
&T&T&Twreqnd
While I was trying to insert the script, the editor crashed twice, and it still doesn't work(((

I'll try writing the simplest script now.

function latnikF()
LevelUpHero("Nikolai");
end;
Trigger(OBJECT_TOUCH_TRIGGER, "latnik", "latnikF");

SetObjectEnabled("latnik", nil);

Place any creature. And in the Name field, write "latnik". There's another error. . You are using the wrong hero name.

If the map editor crashes, and this is normal for it, then use ScriptEditor. Open your map, find MapSkript.lua there, and edit it.

Statistics

Welcome our newest member: dodoD0D0