Great! It worked. Many thanks. 
Now I know why I should use variables to do things like these. ^^
Again, thanks for your help.

Now I know why I should use variables to do things like these. ^^
Again, thanks for your help.

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 Menuobject[0].Transparency--;
object[0].Transparency++;
#sectionstart room_a // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
// script for Room: First time player enters room
while (object[0].X > -251) {
object[0].X-=2;
Wait (1);
if (object[0].Transparency > 0){
object[0].Transparency--;
}
else if (object[0].Transparency < 100){
object[0].Transparency++;
}
}
}
#sectionend room_a // DO NOT EDIT OR REMOVE THIS LINE
#sectionstart room_b // DO NOT EDIT OR REMOVE THIS LINE
function room_b() {
// script for Room: Player enters room (before fadein)
object[0].X = 320;
object[0].Transparency = 100;
}
#sectionend room_b // DO NOT EDIT OR REMOVE THIS LINE
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.028 seconds with 15 queries.