Auto-translated
function Heroes()
Trigger(OBJECT_TOUCH_TRIGGER, "Devil", nil);
AddHeroCreatures("Nicolai", 3, 20);
MessageBox("/Maps/SingleMissions/Opolchenie/Devil.txt");
PlayObjectAnimation("Devil", "happy", ONESHOT_STILL);
end;
Trigger(OBJECT_TOUCH_TRIGGER, "Devil", "Heroes");
SetObjectEnabled("Devil",nil);
now everything works
and how do I make them join the squad after that?
Trigger(OBJECT_TOUCH_TRIGGER, "Devil", nil);
AddHeroCreatures("Nicolai", 3, 20);
MessageBox("/Maps/SingleMissions/Opolchenie/Devil.txt");
PlayObjectAnimation("Devil", "happy", ONESHOT_STILL);
end;
Trigger(OBJECT_TOUCH_TRIGGER, "Devil", "Heroes");
SetObjectEnabled("Devil",nil);
now everything works
and how do I make them join the squad after that?