Skip to content

Current questions and answers regarding the map editor.

#4991
Auto-translated
sergejez

Guys, help me out. The simplest function isn't working, but everything is fine with other, including more complex, functions.


function arena_level_up_pl1F (hero)
MakeHeroInteractWithObject(heroname, "monster_arena1_pl1");
end;

Trigger(OBJECT_TOUCH_TRIGGER, "arena_level_up_pl1", "arena_level_up_pl1F");

It seems like you should write "hero" instead of "heroname": MakeHeroInteractWithObject(hero, "monster_arena1_pl1").
Карты: Экспедиция ГрувераНаследие ШантириВременной парадоксПоиски рунной сферыПуть возвращения

Statistics

Welcome our newest member: wayal