Reply to Re: I'm making a dmod and I might need help.
If you don't have an account, just leave the password field blank.
I`ll explain it more easily than these others guys
//script 1
-----------
void talk(void)
{
if (&Story == 0)
{
say_stop("Talk to me when you have talked with that other guy over there.", ¤t_sprite);
&story = 1;
}
if (&story == 2)
{
say_stop(the story is now 2.", ¤t_sprite);
}
}
//script 2
-----------
void talk(void)
{
if (&story == 1;
{
say_stop("I see you`ve talked with that guy over there. Go talk to him again, he has more to say.", ¤t_sprite);
&story = 2;
}
}
//explaination
---------------
if (%story == 1)
{
This is whats going to happen when the story is 1
}
&story = 2; //This equals the variable &story to 1 so when you talk to the guy who have script 1 attached to him. he will say the tings that you`ve written in &story 1.
Remember the brackets they are usually the most errors that can contain a script. It can make the game freeze, if the bracket is not closed.
But you will learn about it

//script 1
-----------
void talk(void)
{
if (&Story == 0)
{
say_stop("Talk to me when you have talked with that other guy over there.", ¤t_sprite);
&story = 1;
}
if (&story == 2)
{
say_stop(the story is now 2.", ¤t_sprite);
}
}
//script 2
-----------
void talk(void)
{
if (&story == 1;
{
say_stop("I see you`ve talked with that guy over there. Go talk to him again, he has more to say.", ¤t_sprite);
&story = 2;
}
}
//explaination
---------------
if (%story == 1)
{
This is whats going to happen when the story is 1
}
&story = 2; //This equals the variable &story to 1 so when you talk to the guy who have script 1 attached to him. he will say the tings that you`ve written in &story 1.
Remember the brackets they are usually the most errors that can contain a script. It can make the game freeze, if the bracket is not closed.
But you will learn about it
