Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 23/03/2004 03:43:31

Title: To move two characters at the same time
Post by: on Tue 23/03/2004 03:43:31
I was trying to move two characters at the same time (as the final fantasy 8)...Did I try to use the command " followcharacter " but does she/he take a lot in responding and doesn't it respect the address to which is looking at the player... How would I be able to make it?  
 
PD: It is that I want to make a mirror...and using many codes from scrit and with the follow I have gotten the same thing.  
 
Thank you search their tim
Title: Re:To move two characters at the same time
Post by: Ozwalled on Tue 23/03/2004 07:24:16
If it's a mirror effect you're going for, check these out, from the Technical Archive:

http://www.agsforums.com/yabb/index.php?board=10;action=display;threadid=7022

http://www.agsforums.com/yabb/index.php?board=10;action=display;threadid=9750
Title: Re:To move two characters at the same time
Post by: CB.. on Tue 23/03/2004 12:50:24
for the following character effect this might work


if (character[EGO].walking==1){
character[MAN].x=character[EGO].x + 10;
character[MAN].y=character[EGO].y + 10;}
Title: Re:To move two characters at the same time
Post by: on Tue 23/03/2004 15:18:27
¡Thank you! ¡The code of the other one post it works perfectly!