Reply to Re: Story scripts suck
If you don't have an account, just leave the password field blank.
I had a lot of trouble with the visions too.
In Terrania, I made a script just for visions
on the particular screen and attached it to the
base of the screen.You hit 'B' when you're
editing the screen.It's better than attatching
to a sprite because, um, I say so!
It went like:
void main(void)
{
if (&story < 5)
{
&vision = 1;
}
if (&story == 5)
{
&vision = 2;
}
if (&story > 5)
{
&vision = 2;
}
}
I'm not sure if that is helpful or not.
EDIT: Also when you do the hit script...
void hit(void)
{
freeze(1);
say_stop("`1DON'T HIT ME!.",¤t_sprite);
wait(500);
say_stop("DON'T SHOUT AT ME!", 1);
wait(500);
unfreeze(1);
}
don't put the: &story = 3; in there
In Terrania, I made a script just for visions
on the particular screen and attached it to the
base of the screen.You hit 'B' when you're
editing the screen.It's better than attatching
to a sprite because, um, I say so!
It went like:
void main(void)
{
if (&story < 5)
{
&vision = 1;
}
if (&story == 5)
{
&vision = 2;
}
if (&story > 5)
{
&vision = 2;
}
}
I'm not sure if that is helpful or not.
EDIT: Also when you do the hit script...
void hit(void)
{
freeze(1);
say_stop("`1DON'T HIT ME!.",¤t_sprite);
wait(500);
say_stop("DON'T SHOUT AT ME!", 1);
wait(500);
unfreeze(1);
}
don't put the: &story = 3; in there