Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - nightmarer

#41
Good evening all.

How can I create a function which activates if it is not the first time it loads, or if it is the third or forth time?

Regards.
#42
Hello.

I have my room1 with an invisible object(oFlower), and I want to make it visible once the character arrives to room4.
oFlower.Visible = true;
It is possible to change an object property from another room?
I have been reviewing the manual but I don't know if objects are part of a higher object room.
I don't know if I am explaining right.
How I can refer to variables from outside of one room? Is that possible?

Regards.
#43
Hello.

I've been some days with this problem. I created my second room and my character can't walk on it, but he can interact with a hotspot.
The walkable area is created and the character appears on this walkeble areaso I don't know what I have to do.
Here I paste the script to change the room:
From room1 to room 2:
function room_LeaveRight()
{
cChar1.ChangeRoom(2, 99, 455, eDirectionRight);
}

function room_LeaveLeft()
{
cChar1.ChangeRoom(2, 500, 455, eDirectionLeft);
}

From room 2 to room 1:
function room_LeaveLeft()
{
cChar1.ChangeRoom(1, 753, 509);
//cChar1.ChangeRoom(1, 753, 509, eDirectionDownLeft);
}
function room_LeaveRight()
{
cChar1.ChangeRoom(1, 504, 531, eDirectionLeft);
}

Do I need to activate anything else?

Regards.
#44
Good evening all.

This is my first post, I started with the tutorials and I don't know why I am having this error, because I followed the steps in the tutorials.
I created my empty project and created my first room, but when I run it shows the following error "The game is set to start in room -1 which does not exist",
but the room exists. At least the room 1, not the room -1 which the AGS says that is not possible to enter this room.
I tried to search how to change this but I can't find it.
Can anybody please tell me what am I doing wrong?

Regards.
SMF spam blocked by CleanTalk