Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 03/02/2004 02:06:07

Title: To stop a NPC a moment
Post by: on Tue 03/02/2004 02:06:07
Thank you to read my message and you forgive my terrible English.  
 
I have gotten that a NPC of having returned somewhere around but I want that the npc stops between movercharacterpath and movercharacterpath.  
 
How could that make? I have attempted it with setimer and with accountants and anything.  
 
Thank you for their time.  
 
Sincerely Vegetamaker
Title: Re:To stop a NPC a moment
Post by: Ishmael on Tue 03/02/2004 09:53:57
What is the exact script you used? It's easier for me atleast to tell you how to do it if I know your code, so I won't confuse you...
Title: Re:To stop a NPC a moment
Post by: on Tue 03/02/2004 16:42:03
 Good...I have used many codes to try to make this. At the end I left the only one that me funcinaba but she/he doesn't stop a moment the NPC and, also, I can not put more DisplaySpeechBAckground(chara, " text ");  
 
I copy it such and as I have it:  I have it in the Repeatedly execute
 
if (character[AAA].x==396 && character[AAA].y==120){
character[AAA].x++;//muevelo un pixel a la derecha para que salga del loop
MoveCharacterPath (AAA, 120, 140);//muevelo a estas coord.
DisplaySpeechBackground( AAA, "Qu< preocupado estoy.");
MoveCharacterPath (AAA, 523, 128);//cuando acabe, a estas
//DisplaySpeechBackground( AAA, "No encuentro lo que busco. D#nde estar@?");
MoveCharacterPath (AAA, 396, 120);//y cuando acabe, a estas
//DisplaySpeechBackground( AAA , "D#nde est@?");
}

I sit down to not be able to use the edit, but she/he doesn't leave me login me correctly: (
Title: Re:To stop a NPC a moment
Post by: on Wed 04/02/2004 01:46:50
No problem. I did this...My problem was the coordenate. Thx and erase this post ^ ^