Skip to content

Hero animation.

User Avatar
#3
Auto-translated
Thank you very much for your response, I will try it!

I encountered another problem. Please tell me why the region doesn't always work when entering it. It may activate if I exit and re-enter it, or it may not display the message at all. What could be the reason?
P.S.: How do I make the message appear only for one player, and not for everyone?

function FermD1()
MessageBox("/Maps/Multiplayer/Aragon1/FermD1.txt");
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Ferma1", nil);
end;

Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Ferma1", "FermD1");

Update1: The advice from comrade Ment'a regarding animation helped, everything works great now!!! Thank you very much for your help!

Update2: The problem seems to have disappeared after I moved these scripts to the very top, but the other scripts seem to be written correctly, and there are no errors in them (is it necessary to somehow close scripts, for example, those related to animations, if functions, triggers, etc. follow them?). The question remains about how to address the message to one player...