I noticed that too. After awhile of constantly changing the global script and loading the same save game slot, I realised I couldn't have done this a few months ago.
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 MenuQuote from: Snarky on Wed 23/03/2005 01:52:57
Isn't it fair to say that the film is called 'Ringu', but that the U is silent?
As in: "ringu" is the Latin transcription of the kanji transcription of the English loan-word "ring" in Japanese?
if (IsTimerExpired(5)) {
if (cue==1) TypeLineInvis("The great and powerful woman who created the lands, the oceans, the skies...", 20, 160, 2, 10, 200);
else if (cue==2) {
NewRoom(31);
cue=0;
}
TypeLineInvis("Aldora", 20, 160, 1, 10, 200);
int yposit=0;
int xposit=0;
while (yposit < 50) {
SetViewport(xposit, yposit);
Wait(6);
yposit++;
xposit++;
}
function TypeLineInvis (string say, int xpos, int vpos, int queue, int delay, int wait) {
if (IsGamePaused()==0) {
StopMoving(EGO);
SetTextWindowGUI(31);
StrCopy(displayedline,"");
StrCopy (line, say);
typecount=0;
textid = CreateTextOverlay(xpos, 100, 400, 1, 1, displayedline);
length=StrLen(line);
SetTimer(6, delay);
delaya=delay;
vposa=vpos;
xposa=xpos;
waita=wait;
cue=queue;
}
}
if (IsTimerExpired(6)) {
if (typecount<length) {
StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,typecount));
SetTextOverlay(textid,xposa,vposa,275,1,1,displayedline);
if (StrGetCharAt(line,typecount)!=' ') PlaySound(1);
typecount++;
if (typecount==length) {
if (waita>0) SetTimer(7, waita);
else RemoveOverlay(textid);
}
else {
SetTimer(6, delaya);
}
}
}
else if (IsTimerExpired(7)) {
RemoveOverlay(textid);
SetTimer(5, 100);
}
if (IsTimerExpired(5)) {
if (cue==1) TypeLineInvis("The great and powerful woman who created the lands, the oceans, the skies...", 20, 160, 0, 10, 200);
}
#define Typetimer1 10
#define Typetimer2 11
int textid;
int length;
int typecount;
int i;
int widtha;
int delaya;
int vposa;
int xposa;
int waita;
function TypeLineInvis (string say, int xpos, int vpos, int width, int delay, int wait) {
if (IsGamePaused()==0) {
StrCopy (line, say);
StopMoving(EGO);
SetTextWindowGUI(31);
typecount=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
SetTimer(Typetimer1, delay);
widtha=width;
delaya=delay;
vposa=vpos;
xposa=xpos;
waita=wait;
}
}
if (IsTimerExpired(Typetimer1)) {
while((i<length) && (1||(Wait(delaya)==0))) {
// pick character at position "i"and stick it at the end of string "displayed line"
StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,typecount));
//set textoverlay as displayedline
SetTextOverlay(textid,xposa,vposa,widtha,1,1,displayedline);
// if a space is added to the string do not play a sound, else play a 'tick'
if (StrGetCharAt(line,typecount) != ' ') PlaySound(1);
//increase the loop counter
typecount++;
if (typecount==length) {
if (waita>0) SetTimer(Typetimer2, waita);
else RemoveOverlay(textid);
}
else {
SetTimer(Typetimer1, delaya);
}
} //
}
else if (IsTimerExpired(Typetimer2)) {
RemoveOverlay(textid);
}
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.052 seconds with 15 queries.