Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Candle on Sun 25/04/2004 08:52:18

Title: Walk in and out of rooms
Post by: Candle on Sun 25/04/2004 08:52:18
I would like to have a character (not main character) walk down the street and in to a door way and then come back out after a few sec's  like they do in The secret of Monkey Island .
How would I do that ? I can't seem to find it in the drag and drop way ..
Title: Re:Walk in and out of rooms
Post by: Ishmael on Sun 25/04/2004 10:01:05
See MoveCharacterPath in the manual for start

And this thead (http://www.agsforums.com/yabb/index.php?board=10;action=display;threadid=9757) for more info.
Title: Re:Walk in and out of rooms
Post by: .. on Sun 25/04/2004 10:45:01
You could make the door a walk behind and have a walkable area behind the door.

Then use the move character and face location interactions in the drop down lists and then Run script and put something like
WaitKey(50); (50 is how long you want them too wait) and then use the move character functions etc again.

NOTE: You'll have to make sure the Movement is TRUE(Where you have to wait for the move too finish b4 the next thing happens)
Title: Re:Walk in and out of rooms
Post by: Candle on Sun 25/04/2004 18:44:04
Well thank you for your help , I may just  pass on this as I don't have the coding skills to pull this off and look good too .
All ways other things to do .. :)
Title: Re:Walk in and out of rooms
Post by: .. on Sun 25/04/2004 19:17:54
Its not that difficult all you have to do is use the Move Character and Face location things from the drop down box and one line of script.