Cutscenes,intros and outros

Started by , Mon 23/02/2004 11:07:34

Previous topic - Next topic

Rd27

Sorry, I have been a stupid :-[

I now got the game working, but the other character still doesn't move. Any ideas why this happpens?

I place in the dialoq that run-script command and main global script the script that you guys told me. By the way, can I put the run-script value whatever  I want? It is 5 now.

Scorpiorus

#21
Who is the other character? If it's not KAVERI that yes he won't move until you add appropriate script code. In case you are talking about KAVERI himself try modify the dialog_request code a bit:

function dialoq_request(int value){

if(value==5){
MoveCharacterBlocking(KAVERI,200,150,1);
MoveCharacterBlocking(KAVERI,120,75,1);

}
}

QuoteBy the way, can I put the run-script value whatever I want? It is 5 now.
Yes, you can use any value you want. Just make sure it's the same one you are checking in the dialog_request for.

Rd27

I have tried both, but didn't work.

Thisis the script now. I have place it for bottom in the main global script.After the dialoque script. Like this:

function character1_a() {
 // script for character1: Talk to character
MoveCharacterBlocking(EGO,239,210,0);
FaceLocation(EGO,300,211);
AnimateCharacter(EGO,2,2,0);
FaceLocation(KAVERI,75,194);
RunDialog(0);  
}




function dialoq_request(int value){
 if(value==5){
  MoveCharacterBlocking(KAVERI,170,192,0);
  MoveCharacterBlocking(KAVERI,200,150,0);

   }
   }

Rd27

I got the cutscene working when I remaked my game 8)

Now I started to make a new game and that cut-scene is againg making me nuts.

I have make all the things like they should be and the game works. But when the other character should move, he doesn't. It just got back to the dialog.

This is the script:

function character2_a() {
 // script for character2: Talk to character
FaceCharacter(OLLI,ARI);
FaceCharacter(ARI,OLLI);
RunDialog (0);  

}
function dialoq_request(int value){
 
if (value==1){
  MoveCharacterBlocking(ARI,249,194,1);
 
 
  }
  }

I noticed this. When I try to click the script/dialoq_request I got this message:
Function dialoq_request was not found in the script file. Consult the manual for the correct way of creating it.
Could that be the problem? I haven't found a solutuon for this :'(

Please help.

Gilbert

Because you mispelt dialog as dialoq in the script...

SMF spam blocked by CleanTalk