Author Topic: What am I screwing up here?  (Read 2319 times)

Info Teddy

  • Captain
  • *****
  • Posts: 271
    • View Profile
What am I screwing up here?
« on: March 03, 2014, 09:32:33 am »
So, I have this script here, and I’m running it in 2.1.
Code: [Select]
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

  • Global Moderator
  • Captain
  • *****
  • Posts: 2176
    • View Profile
    • The Open Level Project
Re: What am I screwing up here?
« Reply #1 on: March 03, 2014, 09:47:58 am »
There's this part:
Code: [Select]
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:
Code: [Select]
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.
« Last Edit: March 03, 2014, 09:53:37 am by Dav999 »

Info Teddy

  • Captain
  • *****
  • Posts: 271
    • View Profile
still something wrong over here.
« Reply #2 on: March 04, 2014, 01:39:58 am »
There's this part:
Code: [Select]
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:
Code: [Select]
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--
Code: [Select]
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

  • Global Moderator
  • Captain
  • *****
  • Posts: 2176
    • View Profile
    • The Open Level Project
Re: What am I screwing up here?
« Reply #3 on: March 04, 2014, 09:34:36 am »
There's a say(3) that needs to be say(2)

Info Teddy

  • Captain
  • *****
  • Posts: 271
    • View Profile
WQIOERJPICVJWERJOWIRET
« Reply #4 on: March 06, 2014, 09:01:13 am »
There's a say(3) that needs to be say(2)
Fixed.

And now I've apparently gotten the wrong number of lines in this:
Code: [Select]
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

  • Global Moderator
  • Captain
  • *****
  • Posts: 2176
    • View Profile
    • The Open Level Project
Re: What am I screwing up here?
« Reply #5 on: March 06, 2014, 09:31:49 am »
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)