WTH?!?
Why the heck does the game crash when I press the CTRL button after I've used this choice script?
key-74.c:
void main ( void )
{
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
key-74.c:
void main ( void )
{
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
Well, first; there's a } bracket missing in that key-74.c script. And second, the CTRL button is for items.. so couldn't the problem be in the item script of the item you had equiped?
And what's the point of hiding the midi file name?

And what's the point of hiding the midi file name?

Even with the assumption that the midi name is just a temporary one, make sure that it is under 8 characters.
October 1st 2004, 07:46 AM

jedisecret


dang, forgot to hide the Choice thing too
The wrong can't be in the item script, 'cause the item is the fist
So I'll try to make the number of letters under 8, and place the missing } at the right place.

The wrong can't be in the item script, 'cause the item is the fist

So I'll try to make the number of letters under 8, and place the missing } at the right place.
You don`t actually need to say that sinse we know that you did

key-74.c:
void main ( void )
{
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
You didn't end the total.. Put another } behind the last }
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
}
[edit]ow dang, I'm too late already
Sorry didn't see the other posts
void main ( void )
{
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
You didn't end the total.. Put another } behind the last }
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
}
[edit]ow dang, I'm too late already

No, don't. You may type the quotes, but they'll literally appear in the title.
I dunno whats wrong, i made a script and whenever i pressed Ctrl and the sprite talked for a bit and then after that, it crashed. I fixed it by adding "unfreeze" to it, try:
void main ( void )
{
freeze(1)
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
}
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
unfreeze(1)
}
void main ( void )
{
freeze(1)
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
}
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
unfreeze(1)
}
You've already closed the main function before it's had a chance to even get to the if. That can't be good.
Oh, sorry. Forgot to write that the script now works, and thanks to everyone who has helped me (or tryied to)