Posts from Hero animation.
Auto-translated
By the way, you were lucky that the attack animation looks the way it should; heroes usually have problems with that too.
And another question about SetCombatLight: should I specify the script name as indicated here, like in the screenshot?
[function]("/[path to resource]/[resource name].xdb#pointer(/[resource type])")
It's a bit cumbersome, but that's how it works...
A specific example for videos would look like this:
StartDialogScene("/DialogScenes/TestMap/Ds1/Dialog-Scene.xdb#pointer(/DialogScene)")
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...