Andail - it's GORGEOUS! If I could paint/draw like that, I'd spend all my time in front of the mirror just smiling at myself.
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 TypeLineInvis (string say, int xpos, int vpos, int width, int delay, int wait) {
if (IsGamePaused()==0) {
StrCopy (line, say);
StopMoving(EGO);
SetTextWindowGUI(31);
//declare local vars
textid = 0;
//initialise vars
length = 0;
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) Wait(wait);
}
RemoveOverlay(textid);
Wait(5);
}
}
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.586 seconds with 20 queries.