-
Fafri.
User deleted
Ciao sono di nuovo io
Volevo chiedervi una cosa:
In pratica ho inziato uno script per una prova di una cutscene solo che mi dice che c'è un errore nella linea 6 quella dove c'è scritto StartCutScene e mi dice:"Undefined token"
Non so che significa mi potreste aiutare?? Ho la versione 2.7 di AGS e ora vi metto anche lo script completo.
EDIT: Faccio un piccolo edit perchè sto riscontrando più di un errore nello scrpit... per caso sapete individuare qualche problema?
Ah e grazie in anticipo a chi riesce ad aiutarmi
/ room script file
#sectionstart room_a // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
// script for Room: Player enters room (after fadein)
StartCutScene (1);
HideMouseCursor () ;
MoveCharacterBlocking (EGO,207, 115, 0);
DisplaySpeech (EGO, "Però che bel gioco di prova che stai facendo!");
DisplaySpeech (EGO, "Hey e questo cos'è?");
SetCaratcherView (EGO,1);
AnimateCharacter (EGO, 4, 0, 0)
while(character[EGO].animating)
{
Wait(1);
}
ReleaseCharacterView(EGO);
EndCutscene ();
ShowMouseCursor () ;
}
#sectionend room_a // DO NOT EDIT OR REMOVE THIS LINE
Edited by Fafri - 15/7/2009, 12:42.