Oh, and one more question, perhaps slightly off-topic. When entering a region, a video should play. But for some reason, it only plays a part of it, specifically one out of seven segments. However, in other cases, all scenes work normally; the problem only occurs with this one. (In the editor, it plays completely and correctly.)
Script for the problematic region:
function Region4F()
sleep(3)
StartDialogScene("/MySceneCustom/DialogScene2/DialogScene.xdb#xpointer(/DialogScene)");
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"Region4",nil);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"Region4","Region4F");Scripts for the working regions:
StartDialogScene("/MySceneCustom/StartScene/DialogScene.xdb#xpointer(/DialogScene)");
and
function Region1F ()
sleep(5);
MessageBox ("/Maps/SingleMissions/MapochkaTEST3/battletext.txt");
StartCombat ( "RedHeavenHero04", nil, 5, 166, 100, 166, 100, 167, 75, 169, 50, 170, 15, nil);
StartDialogScene("/MySceneCustom/BattleDialog1Custom/DialogScene.xdb#xpointer(/DialogScene)");
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"Region1",nil);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"Region1","Region1F");And yes, thank you for the animation scripts. They work great!
You should thank the developers, not me, for the animation scripts – this script is used in one of the missions featuring Wolfenstein