runtext
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
jesusfreak

i'm a little confused about all of the arrays,and what not. but what i really need to know is how to make a text box run only once per a map load,

here is my system.vc..

void Text(string text1, string text2 string text3)
{
int y;



// loop until B1 is pressed
while (!b1)
{
//draw el mapo
Render();
// draw the text box
SetLucent(0);
Rect(0,(ScreenY/2+58),ScreenX-1,ScreenY-1,53);
Rect(1,(ScreenY/2+58)+1,ScreenX-2,ScreenY-2,45);
RectFill(2,(ScreenY/2+58)+2,ScreenX-3,ScreenY-3,24);
SetLucent(0);
// draw the text
y=ScreenY-(ScreenY/4); // position font output at the upper-left of the textbox
GotoXY(0, y); PrintString(0, text1); y+=FontHeight(0);
GotoXY(0, y); PrintString(0, text2); y+=FontHeight(0);
GotoXY(0, y); PrintString(0, text3);
// update video memory
ShowPage();

UpdateControls();
}
UnPress(1);
}


------------------------------------------------------

can anyone out there have the heart to tweak with this so that there is a way to make the text run only once??

PS. make sure it works please,



Posted on 2000-11-10 14:05:04

zeromus

call this from the map's autoexec event. (event 0)
it will only run once, then.

--zeromus



Posted on 2000-11-10 16:12:23

jesusfreak

i am first a little confused, and second i all ready have some text in the autoexec event,
if you could give me just a little guidance (i am a stupid scripter) and BTW, did you get my email?



I am a new person to verge People i like.. mythrill the speed bump steven marine ear KarmaCult Loritian and a few other poor souls

Posted on 2000-11-10 16:16:20


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.