HElp!
Hey! How's it going? Well any way.. I need h-e-l-p! I'm almost done with my d-mod and just noticed a REALLY REALLY big one! If I don't fix it soon I'm gonna have to bring out ol' Crowy . That's where you come in...
If one of you could PLEASE tell me my problems, *Looks at with big blue puppy eyes* I'll thank you. (Notice the caps) I'll put the script in my next post, Thanks again!
If one of you could PLEASE tell me my problems, *Looks at with big blue puppy eyes* I'll thank you. (Notice the caps) I'll put the script in my next post, Thanks again!
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
choice_start();
"Say.. Aren't those chicken heads?"
“WHAT THE HECK HAVE YOU DONE!?”
“Your satanistic behavior has left a hole in my heart (sniffle)”
"Leave and only wonder..."
choice_end();
if (&result == 1)
{
say_stop("`6Yup, I can them, than ship em to New York", ¤t_sprite);
wait(200);
say_stop("...",1);
wait(200);
say_stop("`6They make real good gifts",¤t_sprite);
wait(200);
say_stop("how much money do you make?",1);
wait(200);
say_stop("`6I once founded a rip one on the ground!",¤t_sprite);
wait(200);
say_stop("`6Heya, take one a them",¤t_sprite);
wait(200);
say_stop("Thanks?",1);
wait(200);
say_stop("`6don mention it"),¤t_sprite;
wait(200);
say_stop("(great! now I have a blood-leaking head!)",1);
}
if (&result == 2)
{
say_stop("`6I've just started an honest buisness",¤t_sprite);
wait(200);
say_stop("SO you do this for a living!!",1);
wait(200);
say_stop("I'm gonna cal 911 on my cell!!",1);
wait(200);
say_stop("`6call who? on what?", ¤t_sprite);
wait(200):
say_stop("I really don't know...",1);
wait(200);
say_stop("`6did ya know that know backward is wonk!",¤t_sprite);
wait(200);
say_stop("`6Like a hitcha on ya head, WONK!",¤t_sprite);
wait(500);
say_stop("I give up!",1);
}
if (&result == 3)
{
say_stop("`6I sell hearts too, mightay tasty",¤t_sprite);
wait(200);
say_stop("Will thou mighty hand from thy sky help me?", ¤t_sprite);
wait(200);
say_stop("`0NO, BUT I WILL TAKE OVER YOUR BODY", 1);
wait(200);
say_stop("agh..er...fhgdsfg..",1);
wait(200);
say_stop("`0NO LONGER WILL YOU TELL JOKES OF ME",1);
wait(200);
say_stop("FOR I AM AS EVIL AS HITLER",1);
WAIT(200);
SAY_STOP("`0AND HITLER'S GONNA WHACK THINGS UP!",1);
WAIT(200);
FADE_DOWN();
FILL_SCREEN(0);
WAIT(1000);
SAY_STOP("`6wered da lites go?",¤t_sprite);
wait(200);
say_stop("Where did what go? (heh)",1);
wait(200);
say_stop("`6Uhh.. nevermind",¤t_sprite):
wait(600);
say_stop("DEVIL! HAVE YOU BEEN IMPERSENATING ME?!?",1);
WAIT(500);
SAY_STOP("`0MAYBE..",1);
WAIT(200);
SAY_STOP("I WILL PUNISH SATAN USING COOL GODLY POWERS!!,",1);
FILL_SCREEN(1);
SAY_STOP("`9WONK!",1);
WAIT(200);
SAY_STOP("`6Told Ya!",¤T_SPRITE);
WAIT(200);
FILL_SCREEN(2);
WAIT(200);
SAY_STOP("`9POW!",1);
WAIT(200);
say_stop("NOW GO FROM WHENCE YOU CAME!!",1);
wait(200);
fill_screen(3);
wait(10);
fill_screen(4);
wait(10);
fill_screen(5);
wait(10);
fill_screen(6);
wait(1);
fill_screen(7);
say_stop("`0ARGH!!",1);
wait(300);
fill_screen(0);
FADE_UP();
wait(800);
SAY_STOP("I-i-i think I gotta go...",1);
wait(200);
say_stop("`6Come back ana time now, ya heare!",¤t_sprite):
}
unfreeze(1);
unfreeze(¤t_sprite);
return;
}
void hit(void)
{
say_stop("`6I love you", ¤t_sprite);
}
\\PLEASE help
{
freeze(1);
freeze(¤t_sprite);
choice_start();
"Say.. Aren't those chicken heads?"
“WHAT THE HECK HAVE YOU DONE!?”
“Your satanistic behavior has left a hole in my heart (sniffle)”
"Leave and only wonder..."
choice_end();
if (&result == 1)
{
say_stop("`6Yup, I can them, than ship em to New York", ¤t_sprite);
wait(200);
say_stop("...",1);
wait(200);
say_stop("`6They make real good gifts",¤t_sprite);
wait(200);
say_stop("how much money do you make?",1);
wait(200);
say_stop("`6I once founded a rip one on the ground!",¤t_sprite);
wait(200);
say_stop("`6Heya, take one a them",¤t_sprite);
wait(200);
say_stop("Thanks?",1);
wait(200);
say_stop("`6don mention it"),¤t_sprite;
wait(200);
say_stop("(great! now I have a blood-leaking head!)",1);
}
if (&result == 2)
{
say_stop("`6I've just started an honest buisness",¤t_sprite);
wait(200);
say_stop("SO you do this for a living!!",1);
wait(200);
say_stop("I'm gonna cal 911 on my cell!!",1);
wait(200);
say_stop("`6call who? on what?", ¤t_sprite);
wait(200):
say_stop("I really don't know...",1);
wait(200);
say_stop("`6did ya know that know backward is wonk!",¤t_sprite);
wait(200);
say_stop("`6Like a hitcha on ya head, WONK!",¤t_sprite);
wait(500);
say_stop("I give up!",1);
}
if (&result == 3)
{
say_stop("`6I sell hearts too, mightay tasty",¤t_sprite);
wait(200);
say_stop("Will thou mighty hand from thy sky help me?", ¤t_sprite);
wait(200);
say_stop("`0NO, BUT I WILL TAKE OVER YOUR BODY", 1);
wait(200);
say_stop("agh..er...fhgdsfg..",1);
wait(200);
say_stop("`0NO LONGER WILL YOU TELL JOKES OF ME",1);
wait(200);
say_stop("FOR I AM AS EVIL AS HITLER",1);
WAIT(200);
SAY_STOP("`0AND HITLER'S GONNA WHACK THINGS UP!",1);
WAIT(200);
FADE_DOWN();
FILL_SCREEN(0);
WAIT(1000);
SAY_STOP("`6wered da lites go?",¤t_sprite);
wait(200);
say_stop("Where did what go? (heh)",1);
wait(200);
say_stop("`6Uhh.. nevermind",¤t_sprite):
wait(600);
say_stop("DEVIL! HAVE YOU BEEN IMPERSENATING ME?!?",1);
WAIT(500);
SAY_STOP("`0MAYBE..",1);
WAIT(200);
SAY_STOP("I WILL PUNISH SATAN USING COOL GODLY POWERS!!,",1);
FILL_SCREEN(1);
SAY_STOP("`9WONK!",1);
WAIT(200);
SAY_STOP("`6Told Ya!",¤T_SPRITE);
WAIT(200);
FILL_SCREEN(2);
WAIT(200);
SAY_STOP("`9POW!",1);
WAIT(200);
say_stop("NOW GO FROM WHENCE YOU CAME!!",1);
wait(200);
fill_screen(3);
wait(10);
fill_screen(4);
wait(10);
fill_screen(5);
wait(10);
fill_screen(6);
wait(1);
fill_screen(7);
say_stop("`0ARGH!!",1);
wait(300);
fill_screen(0);
FADE_UP();
wait(800);
SAY_STOP("I-i-i think I gotta go...",1);
wait(200);
say_stop("`6Come back ana time now, ya heare!",¤t_sprite):
}
unfreeze(1);
unfreeze(¤t_sprite);
return;
}
void hit(void)
{
say_stop("`6I love you", ¤t_sprite);
}
\\PLEASE help
Um... I'd be more than glad to help... if I knew what is going wrong in the script
Edit: Hrm... maybe the colors don't change after you fade down? Unfortunatly, the way fade_down works is it basically makes every color black (except white), so your fill_screen() commands don't really do anything. You could try just using fill_screen() commands without the fade_down() and fade_up(), but then all of the sprites on the screen would still be visable.
Also, to reverse the effects of fill_screen(), try doing this instead of your fade_up():
draw_screen();
draw_status();
Edit: Hrm... maybe the colors don't change after you fade down? Unfortunatly, the way fade_down works is it basically makes every color black (except white), so your fill_screen() commands don't really do anything. You could try just using fill_screen() commands without the fade_down() and fade_up(), but then all of the sprites on the screen would still be visable.
Also, to reverse the effects of fill_screen(), try doing this instead of your fade_up():
draw_screen();
draw_status();
Thanks, I guess I needed to be more specific... But the actual problem is that when I assign the script to a sprite, and Dink talks to it, Nothing happens, and thanks for the info on the fill_screen() command.
Hmm... make sure the sprite is Type 1 in DinkEdit, or a Person/Creature type in WinDinkEdit.
When you assign a script to a sprite, and then change his brain ( in the editor ) then you need to assign it again, check it...
Oh! You have this:
choice_start();
"Say.. Aren't those chicken heads?"
“WHAT THE HECK HAVE YOU DONE!?”
“Your satanistic behavior has left a hole in my heart (sniffle)”
"Leave and only wonder..."
choice_end();
Try doing this:
choice_start()
"Say.. Aren't those chicken heads?"
"WHAT THE HECK HAVE YOU DONE!?"
"Your satanistic behavior has left a hole in my heart (sniffle)"
"Leave and only wonder..."
choice_end()
Sometimes Dink doesn't want choice)start() to have a ; on the end of it. Also, had 'special' quotes around a couple of your title choices, and Dink is probably expecting normal quotes, and might have gotten confused.
choice_start();
"Say.. Aren't those chicken heads?"
“WHAT THE HECK HAVE YOU DONE!?”
“Your satanistic behavior has left a hole in my heart (sniffle)”
"Leave and only wonder..."
choice_end();
Try doing this:
choice_start()
"Say.. Aren't those chicken heads?"
"WHAT THE HECK HAVE YOU DONE!?"
"Your satanistic behavior has left a hole in my heart (sniffle)"
"Leave and only wonder..."
choice_end()
Sometimes Dink doesn't want choice)start() to have a ; on the end of it. Also, had 'special' quotes around a couple of your title choices, and Dink is probably expecting normal quotes, and might have gotten confused.
Thank you! I dunno what I'd do if you didn't help me!
Oh and get ready for an upcoming epic
(Drumrole please)
THE
Oh and get ready for an upcoming epic
(Drumrole please)
THE
I noticed you sometimes put a space after ¤t_sprite and 1, but mostly you don't. Dunno if that has got something to do with the problem, but I've learned it's a good thing to always do things the same way.
say_stop("`6I've just started an honest buisness",¤t_sprite);
wait(200);
say_stop("SO you do this for a living!!",1);
wait(200);
say_stop("I'm gonna cal 911 on my cell!!",1);
wait(200);
say_stop("`6call who? on what?", ¤t_sprite);
say_stop("`6I've just started an honest buisness",¤t_sprite);
wait(200);
say_stop("SO you do this for a living!!",1);
wait(200);
say_stop("I'm gonna cal 911 on my cell!!",1);
wait(200);
say_stop("`6call who? on what?", ¤t_sprite);
No. I had problems with storyprogress, but the scripts without any &story = blah; worked fine.
well, I meant when you said that Dink wasn't accepting the scripts
You know, inspite of the fact that I recomended it, I still don't understand how the map can corrupt the &story variable, it isn't even used by the engine (like &magic or &gold are.