Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: sentient on Tue 18/05/2004 22:51:12

Title: Cutscenes - switching locations
Post by: sentient on Tue 18/05/2004 22:51:12
From what I can see in the help files the only way to create a cutscene in a different location, where the player isn't present is to:
use the newroom command
then hide the main player
run script for the cutscene
use newroom to go back to original room

Am I right? Or am I barking up the wrong tree?
Oh and is there a way to display an item you pick up as a large picture over the scene you are in say half the screen size? I can only think of using a GUI, but it seems a clunky way of doing it.
Title: Re: Cutscenes - switching locations
Post by: strazer on Tue 18/05/2004 23:02:11
If you have another character in the other room, use the SetPlayerCharacter function on this character. The room will change automatically.
After the cutscene, use SetPlayerCharacter again on the player character.
Title: Re: Cutscenes - switching locations
Post by: sentient on Tue 18/05/2004 23:14:42
ahh, that sounds a better way. Thanks. Any ideas on my second question? Or is the GUI method the best way?
Title: Re: Cutscenes - switching locations
Post by: Scorpiorus on Tue 18/05/2004 23:33:05
Yeah, using a GUI is a good way to go.