Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: G on Sun 13/06/2004 23:49:17

Title: Now I have a problem with a Cutscene (Finally solved)
Post by: G on Sun 13/06/2004 23:49:17
Hy there! It's me, G, again.

Making my game I found aÃ,  little problem that I expect you to help me to solve.

I have a cutscene that starts in one room and ends in another, the proble is that I try to use NewRoom or NewRoomEx, but that doesn't works (I think you know why, this order gets executed at the end of the script). How can I make the cutscene change of room to end properly?

It must be possible? musn't it?

Thank you for reading my problems and excuse me for the bad use of the lenguage.

The Spanish AGSer: G
Title: Re: Now I have a problem with a Cutscene
Post by: strazer on Sun 13/06/2004 23:56:51
You can define more than one "Run script" action for a given interaction.
Just add another "Run script" action or an interaction editor action with the room change in it.
It gets executed after the first "Run script" action.
Title: Re: Now I have a problem with a Cutscene
Post by: G on Mon 14/06/2004 00:45:50
Very nice!

I'l make it

Thank you
Title: Re: Now I have a problem with a Cutscene (Solved)
Post by: strazer on Mon 14/06/2004 01:30:58
You're welcome. :)

And thanks for letting us know it solved your problem!
Title: Re: Now I have a problem with a Cutscene (Not solved)
Post by: G on Thu 17/06/2004 20:56:20
Well. I tried doing it like you said, Strazer.
But it didn't work. I don't know why.

The script starts well, but when it chages to the following script it gives the sames results than making all in one only script. The image just fades off, and goes to the same room it was, without moving the character to the written co-ordinates.
I tried even using the interaction editor instead the script, but it fails too.

I feel I'm going crazy... (I hope not)

Title: Re: Now I have a problem with a Cutscene (Not solved)
Post by: Scorpiorus on Thu 17/06/2004 22:06:35
So, the problem is that the NewRoomEx loads the same room? Make sure you pass the right room number to it.
Title: Re: Now I have a problem with a Cutscene (Not solved)
Post by: strazer on Fri 18/06/2004 02:02:53
I suck. Move along.
Title: Re: Now I have a problem with a Cutscene (Not solved)
Post by: LordHart on Fri 18/06/2004 03:56:01
The first script should be put into the interaction for whatever the thing is he interacts with... and the second one should be put into the Player Enters Screen (after dadein) part of the script... so that when it goes to the room, it will do that script.
Title: Re: Now I have a problem with a Cutscene (Not solved)
Post by: strazer on Fri 18/06/2004 03:59:10
Gee, of course! I'm not thinking straight.

Just ignore me. :P