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
function TypeLine (int message, int xpos, int vpos, int width, int delay, int wait) {
if (IsGamePaused()==0) {
GetMessageText(message, line);
StopMoving(EGO);
SetTextWindowGUI(1);
textid = 0;
length = 0;
int i=0;
StrCopy(displayedline,"");
textid = CreateTextOverlay(xpos, 100, 400, 1, 1, displayedline);
//get string length, to know how long the loop must run
length=StrLen(line); //set string length
//start loop
while((i<length) && (1||(WaitKey(delay)==0))) {
// pick character at position "i"and stick it at the end of string "displayed line"
StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,i));
//set textoverlay as displayedline
SetTextOverlay(textid,xpos,vpos,width,1,1,displayedline);
// if a space is added to the string do not play a sound, else play a 'tick'
if (StrGetCharAt(line,i) == ' '){
}
else{
PlaySound(1);
}
//increase the loop counter
i++;
if (i==length) if (wait>0) WaitKey(wait);
else if (wait == -1) while (IsKeyPressed(keyx) == 0) Wait(1);
}
RemoveOverlay(textid);
Wait(5);
}
}
Quote from: Nikolas on Fri 07/10/2005 10:37:09
I don't know, althought there are at least thousands of lookalikes from Toliens stories (not only the LOTR but also Silmarilion and the Hobbit), no one (I just remember Kinoko here)
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.045 seconds with 15 queries.