Weird script problem
Ive made a dmod, and made a script called milder.c, however, ive put a guy in screen 400, and gave him that script... But when the game opens the script milder.c "void main" works, but when "void talk" runs, the game kicks me back to windows, here is the script:
void main(void)
{
say_stop("Talk with me", &current_sprite);
}
void talk(void)
{
freeze(1);
freeze(&current_sprite);
say_stop("Ah, welcome to my battle system... Ive designed this to help others and to show you guys my scripting skills, Yeah!", &current_sprite);
say_stop("Hey... That isnt true...", 1);
say_stop("Doesnt matter, your here to test my system", &current_sprite);
say_stop("If you wanna know how my system works ( for makers ), press H", &current_sprite);
say_stop("If you wanna fight, press F", &current_sprite);
unfreeze(1);
unfreeze(&current_sprite);
}
void main(void)
{
say_stop("Talk with me", &current_sprite);
}
void talk(void)
{
freeze(1);
freeze(&current_sprite);
say_stop("Ah, welcome to my battle system... Ive designed this to help others and to show you guys my scripting skills, Yeah!", &current_sprite);
say_stop("Hey... That isnt true...", 1);
say_stop("Doesnt matter, your here to test my system", &current_sprite);
say_stop("If you wanna know how my system works ( for makers ), press H", &current_sprite);
say_stop("If you wanna fight, press F", &current_sprite);
unfreeze(1);
unfreeze(&current_sprite);
}
December 14th 2002, 04:44 AM

BigScriptGod


: say_stop("If you wanna know how my system works ( for makers ), press H", &current_sprite);
At first glance I'd think this line is the problem. Extra ()... have you tried removing them?