Weird thing I can't seem to get to work. I have a character with a very tall hat, and due to this I'd like his text to appear lower than normal (so it's over his head, not his hat). So I've been using SayAt for this, and it generally works fine... until now (dun dun dun).
The camera pans up to him in a window. I have him say something from the window. Camera pans down. He moves Then walks left and speaks again. Like this:
Code: AGS
But when he says "Okay..." it's off screen somewhere instead of over his head. I can't see where it's ending up so I can't really tell what's going on exactly.
Would changing his position with "cFeynman.x=1174;" and "cFeynman.y=1790;" affect this or maybe the camera pan? I'm kinda at a loss.
Also: Is there any way that I can have the position of his text permanently set instead of using SayAt every time? It's not a big deal, but it'd be nice to know.
The camera pans up to him in a window. I have him say something from the window. Camera pans down. He moves Then walks left and speaks again. Like this:
function room_FirstLoad(){
player.Walk(205, 1772, eBlock, eWalkableAreas);
player.Say("Feynman! Come down! It's important!");
int xpos7 = 0;
int ypos7 = 1035;
while (ypos7 > 125) {
SetViewport(xpos7, ypos7);
Wait(1);
xpos7 = xpos7+5;
ypos7 = ypos7-5;
}
cFeynman.Walk(1840, 688, eBlock, eWalkableAreas);
cFeynman.FaceCharacter(cPlayer, eBlock);
cFeynman.SayAt(cFeynman.x, cFeynman.y -350, 400,"I have a doorbell ya know!");
cFeynman.SayAt(cFeynman.x, cFeynman.y -350, 400,"I'll be right down...");
cFeynman.Walk(2044, 688, eBlock, eWalkableAreas);
while (ypos7 <= 1035){
SetViewport(xpos7, ypos7);
Wait(1);
xpos7 = xpos7-5;
ypos7 = ypos7+5;
}
cFeynman.x=1174;
cFeynman.y=1790;
cFeynman.Walk(550, 1780, eBlock, eWalkableAreas);
cFeynman.SayAt(cFeynman.x, cFeynman.y -350, 400,"Okay...");
cFeynman.SayAt(cFeynman.x, cFeynman.y -350, 400,"What did you want now?");
}
But when he says "Okay..." it's off screen somewhere instead of over his head. I can't see where it's ending up so I can't really tell what's going on exactly.
Would changing his position with "cFeynman.x=1174;" and "cFeynman.y=1790;" affect this or maybe the camera pan? I'm kinda at a loss.
Also: Is there any way that I can have the position of his text permanently set instead of using SayAt every time? It's not a big deal, but it'd be nice to know.
