What am I screwing up here?

Started by Info Teddy, March 03, 2014, 09:32:33 AM

Previous topic - Next topic

Info Teddy

So, I have this script here, and I'm running it in 2.1.say(-1)
text(1,0,0,4)
say(2)
squeak(gray)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(gray,54,85,2)
DATE: 04/13/2038
TIME: 2:42 PM
speak
say(2)
text(1,0,0,4)
say(2)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak
text(1,0,0,4)
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
backgroundtext
speak
text(1,0,0,4)
say(4)
endtext
endcutscene
untilbars
loadscript(stop)
Run it for yourself in 2.1 beta and you'll see where it screws up at.

Dav999

#1
There's this part:
speak
say(2)
text(1,0,0,4)
say(2)
squeak(yellow)

The first say(2) of that is not supposed to be there, so if you remove that it should work fine :viridian:

EDIT: I see another mistake:
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
backgroundtext
speak
text(1,0,0,4)

The say(4) is supposed to be say(5) there.

Info Teddy

Quote from: Dav999 on March 03, 2014, 09:47:58 AMThere's this part:speak
say(2)
text(1,0,0,4)
say(2)
squeak(yellow)
The first say(2) of that is not supposed to be there, so if you remove that it should work fine :viridian:

EDIT: I see another mistake:say(4)
text(yellow,54,85,1)
I hope this thing actually works.
backgroundtext
speak
text(1,0,0,4)
The say(4) is supposed to be say(5) there.
Okay good. Now I've changed it to this--say(-1)
text(1,0,0,4)
say(2)
squeak(gray)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(gray,54,85,2)
DATE: 04/13/2038
TIME: 2:42 PM
speak
text(1,0,0,4)
say(3)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(4)
text(yellow,54,85,1)
I hope this thing actually works.
speak
text(1,0,0,4)
say(4)
endtext
endcutscene
untilbars
loadscript(stop)
--and it's still screwing up.

Gog, VVVVVV, why do you have to be so angry at me for trying to do multiple text boxes? That doesn't make any sense!

Dav999

There's a say(3) that needs to be say(2)

Info Teddy

Quote from: Dav999 on March 04, 2014, 09:34:36 AMThere's a say(3) that needs to be say(2)
Fixed.

And now I've apparently gotten the wrong number of lines in this:say(-1)
text(1,0,0,4)
say(2)
squeak(gray)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(gray,54,85,2)
DATE: 04/13/2038
TIME: 2:42 PM
speak
text(1,0,0,4)
say(2)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,1)
I hope this thing actually works.
speak
endtext
text(1,0,0,4)
say(2)
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,2)
Last time I tried this, it basically
crashed and made me lose all my
speak
text(1,0,0,4)
say(3)
endtext
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,1)
logs. Which really sucked.
speak
endtext
text(1,0,0,4)
say(2)
squeak(yellow)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,2)
Or maybe I should wait for a stable
version of this thing...
speak
text(1,0,0,4)
say(3)
endtext
squeak(yellow)
text(1,0,0,4)
say(5)
text(gray,54,55,1)
=[ LOG OF VITELLARY ]=
backgroundtext
speak_active
text(1,0,0,4)
say(5)
text(yellow,54,85,1)
I don't really know.
speak
endtext
text(1,0,0,4)
say(4)
endtext
endcutscene
untilbars
loadscript(stop)

Dav999

say(2)
squeak(yellow)
say(5)

should be

say(2)
squeak(yellow)
text(1,0,0,4)
say(5)

(And scripting internally can be extremely prone to mistakes)