Auto-translated
or here is another clear and quite large table... no, even better, a REALLY BIG table with explanations and descriptions of the functions. I even made a script based on this table, and it works! In short, it's AMAZING!
New here? I'm Roha — want a quick tour?
StartCutScene
StartCutScene – starts a cutscene.
Syntax
StartDialogScene(cutSceneName, callback = "", saveName = "");
Description
This function starts the specified cutscene.
cutSceneName – a pointer to the cutscene in the resource database.
callback – the name of the function that will be called after the dialog scene is played.
saveName – the name of the save file (see the Save command) that will be created before the dialog scene.
StartDialogScene
StartDialogScene – starts a dialog scene.
Syntax
StartDialogScene(dialogSceneName, callback = "", saveName = "");
Description
This function starts the specified dialog scene.
dialogSceneName – a pointer to the dialog scene in the resource database.
callback – the name of the function that will be called after the dialog scene is played.
saveName – the name of the save file (see the Save command) that will be created before the dialog scene.
Example 1:
StartDialogScene("/DialogScenes/C6/M4/C1/DialogScene.xdb#xpointer(/DialogScene)")
MessageBox("/Maps/SingleMissions/Necronomicon/Rss.txt")
function primer()
while 1 do
if HasArtefact ("Isabell",ID_86) then
ChangeHeroStat ("Isabell", STAT_EXPERIENCE, 12000);
MessageBox ("/Maps/SingleMissions/Let's go!/runa.txt");
sleep( 3 );
Trigger(OBJECT_TOUCH_TRIGGER, "primerreg", nil );
end;
sleep( 3 );
end;
end;
Trigger(OBJECT_TOUCH_TRIGGER, "primerreg", "primer");