Reply to Re: help making quest scripts!
If you don't have an account, just leave the password field blank.
First of all, it should be:
make_global_int("&story", 0);
in main.c
Then, you should use
kill_cur_item();
instead of sp_kill(¤t_sprite, 1);
And, you could also do it like this:
void talk(void)
{
if (&story == 1)
{
//conversation
&story = 2;
}
if (&story == 0)
{
//conversation
&story = 1;
}
}
make_global_int("&story", 0);
in main.c
Then, you should use
kill_cur_item();
instead of sp_kill(¤t_sprite, 1);
And, you could also do it like this:
void talk(void)
{
if (&story == 1)
{
//conversation
&story = 2;
}
if (&story == 0)
{
//conversation
&story = 1;
}
}