Dialog troubles[Solved]

Started by Mouth for war, Wed 29/02/2012 13:28:57

Previous topic - Next topic

Mouth for war

Bah! This is probably easy as hell but It just won't work...and maybe it never will :D here's the problem (after choosing option 4, obviously)
@4
if (mad==1){
Char1: "Well actually there is one thing. I have something to sell but I won't tell you what it is"
Ego: "Why won't you tell me?"
Char1: "Maybe you don't want it if I show you what it is. So...Do you have the guts to buy a surprise?"
Ego: "How much do you want?"
Char1: "500$"
Ego: "That's quite a lot. I'll have to think about it"
Char1: "Sure! I'll be here"
olaf=2;

stop //Putting stop here won't work...it only generates lots of errormessages

}
else if (mad==0){
Char1: "Well actually there is one thing. I have something to sell but I won't tell you what it is"
Ego: "Why won't you tell me?"
Char1: "Maybe you don't want it if I show you what it is. So...Do you have the guts to buy a surprise?"
Ego: "How much do you want?"
Char1: "350$"
Ego: "Hmmm...let me think about it"
olaf=1;}
stop       // again...stop doesn't work. After you have found out the price and the variable has been changed I just want the dialog to stop...How, where and when hehe? I've tried putting the brackets before the stop and after the stop but nothing happens. Thanks!
:D
mass genocide is the most exhausting activity one can engage in, next to soccer

Calin Leafshade

replace stop with

Code: ags

return RUN_DIALOG_STOP_DIALOG;

Mouth for war

THANK YOU KIND SIR :D That did the trick!
mass genocide is the most exhausting activity one can engage in, next to soccer

SMF spam blocked by CleanTalk