Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RetroJay on Tue 10/06/2008 19:28:21

Title: Conditional: if player has been in room ? (SOLVED).
Post by: RetroJay on Tue 10/06/2008 19:28:21
Hi everyone.

I have been looking at the online manual and browsing the forums trying to find the answer to my question with no luck.
All I need to know is how does one script the line "Conditional: If Player Has Been In Room".
In the script editor it doesn't show a "script equivalent" of this.

Lets say for instance that you are at a door in room 10. It doesn't open because you have not been to room 2.
But if you have been to room 2 then the door in room 10 opens.

I know the "If player previous room" script but this doesn't give me what I need.

any help would be fantastic.
Thanks.
Jay.
Title: Re: Conditional: if player has been in room ?
Post by: Pumaman on Tue 10/06/2008 19:37:27
http://www.adventuregamestudio.co.uk/manual/HasPlayerBeenInRoom.htm
Title: Re: Conditional: if player has been in room ?
Post by: RetroJay on Tue 10/06/2008 20:00:40
Wow! A reply from the man himself.

Thank you for the link to the manual. I haven't been able to find it (for some strange reason) from the home page.
I was looking at the Wiki one. ::)

Anyway. Thank you very much.

P.s. Without trying to sound like a butt kisser- AGS Rocks. ;D

Jay.
Title: Re: Conditional: if player has been in room ?
Post by: Pumaman on Tue 10/06/2008 20:58:28
Hehe, no problem :P
Title: Re: Conditional: if player has been in room ? (SOLVED).
Post by: Gilbert on Wed 11/06/2008 01:42:51
Hmmm, why don't you check the "offline" manual that's provided by AGS itself then? I think it's easier to search for information there.
Title: Re: Conditional: if player has been in room ? (SOLVED).
Post by: RetroJay on Wed 11/06/2008 02:44:33
Hi Gilbot.

Yeah. I tried that but didn't find what I needed.
and to be honest with you now that I know how to script it I still can't find anything about it on the (Offline) manual.

I haven't tried the script yet. But I do hope that it works as I forgot to say that I am using 2.72. ::)

Jay.

Edit: SHIT!!
        I have just found it on the (Offline) manual.
        Sorry all I must have gone right past it.........Or there are dark forces at work trying to prevent me from completing my game. ;)

Thanks.
Jay.