Skip to content
User Avatar
#2951
Auto-translated
32MeTpa
Trigger(HERO_LEVELUP_TRIGGER,"Sarge",nil)
This line resets the trigger, which is why it only executes once and then disables itself. Simply remove it, and it will work every time the hero levels up.
Thank you. By the way, do you know if it's possible to give a hero of one class perks from another class using scripts? (GiveHeroSkill can grant a skill of the first level, but it refuses to grant abilities). Or do I need to change something in GameMechanics within the hero's structure? Thank you again for your quick responses and for taking the time.