TheMaxx
|
void text(string text1, string text2, string text3, string text4)
{
UnPress(1);
while(!b1)
{
rectfill(0,screeny-(screeny/4), screenx, screeny, 17);
gotoXY(5, screeny-(screeny/4));
printstring(0, text1);
gotoXY(5, 1*fontheight(0)+screeny-(screeny/4));
printstring(0, text2);
gotoXY(5, 2*fontheight(0)+screeny-(screeny/4));
printstring(0, text3);
gotoXY(5, 3*fontheight(0)+screeny-(screeny/4));
printstring(0, text4);
showpage();
render();
}
}
but when you talk to the entity it displays the text and then frezes how do i stop this?
Posted on 2001-05-16 07:19:54
|
TheGerf
|
Sorry, I keep forgetting one thing or another...
After the render(); put
updatecontrols();
And this I did test, and it works. You'll probably want to change the coordinates of the box, change the colour etc.
TheGerf, not just any gerf.
Posted on 2001-05-16 12:21:14
|