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

Messages - RickDeckard

#2
Now, there is no error message, but i always end up going to the first room (the one with the "if"), no matter where I pass the top edge.
#3
Thanks for your reply!
The edge is set properly, there are walkable areas, but as i pass the top edge, AGS tellst me, that it cant run the command, because there is another "New Room" Command queued. No I never considered using regions, cause I haven't used them yet.
#4
I want to get to different rooms over one edge, but it somehow doesn't work.

Thats the way I thought it shold work, but there must be a little mistake somewhere.
I bet this question was asked a million times before, but i was too lazy to look it up.

function room_LeaveTop()
{
int xort;
xort= cFred.x;
if (112<xort<196)cFred.ChangeRoom(4, 25, 144);
if (443<xort<526)cFred.ChangeRoom(11, 60,175);
if (600<xort<669)cFred.ChangeRoom(12, 17,130);
if (700<xort<763)cFerd.ChangeRoom(3, 30, 170);
if (800<xort<848)cFred.ChangeRoom(13, 52,173);
}
Thanks in advance!
SMF spam blocked by CleanTalk