The Dink Network

Back!.... with problems :(

April 10th 2003, 11:50 AM
dragon.gif
pt
Peasant He/Him
 
I'm back after a long time.
I worked a bit at my D-Mod
it's almost done.
I have just one problem.
the following script doesn't work perfect.
it's a big file so I send you to a site: http://home.wanadoo.nl/musicpage/casguard.c

until this it works fine: {
if (&gaurd == 1)
{
if (&story == 2)

but what comes next doesn't work.
i can't figure out why.
does anyone know?
April 10th 2003, 12:36 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
Your number of brackets is screwed up. Why do you open a new bracket every time you're going to check the &guard value? You have far too many opened brackets that you don't close. It's a bracket nightmare.
April 10th 2003, 12:40 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
The solution:
Remove the { before the first if-statement. (And check the rest of your code for the same thing. A }{-combination is no good).
April 10th 2003, 12:43 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
DOH!! We posted the answers at the same time.
Oh, well, you could spare on line numers though. Just leave out the wait(200);
Say_stop already waits
April 10th 2003, 01:04 PM
dragon.gif
pt
Peasant He/Him
 
I thougt about that.
I just copyed some from others and it's first time I work with it.

I find it weird that the beginning is good and the last not.
but I will change some stuff.
see if it makes difference
April 11th 2003, 03:15 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
No, don't leave out the wait() between say_stops(). Just don't put such a high number in between. 100 should be enough, max. Say_stop() does put in a pause of the script for a few seconds, but if you accidently push space when the other is about to end, you may skip the next line of dialogue as well. That's why I put in wait() commands in between.
April 11th 2003, 09:21 AM
spike.gif
Now that's what I call a good advise (the one on the possibility of skipping the next dialoge line). Thanks Kyle
April 22nd 2003, 04:42 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Ah, didn't think of that before. I'm what you could call a "If text pops up then hammer space-key like a madman"-type