Reply to Re: 2 NPC conversation
If you don't have an account, just leave the password field blank.
void main(void)
{
int &guard2 = create_sprite(x,y,brain,seq,frame);
sp_script(&guard2,"guard2");
}
void talk(void)
{
say("BlaBla",1);
say("`7I agree",¤t_sprite);
say("`8So do I",&guard2);
}
That is good. It does save two globals. But when you got the talking bit you said...
say("BlaBla",1);
say("`7I agree",¤t_sprite);
say("`8So do I",&guard2);
That would actually make them all say it at the same time. So you might want to change it to...
say_stop("BlaBla",1);
say_stop("`7I agree",¤t_sprite);
say_stop("`8So do I",&guard2);
{
int &guard2 = create_sprite(x,y,brain,seq,frame);
sp_script(&guard2,"guard2");
}
void talk(void)
{
say("BlaBla",1);
say("`7I agree",¤t_sprite);
say("`8So do I",&guard2);
}
That is good. It does save two globals. But when you got the talking bit you said...
say("BlaBla",1);
say("`7I agree",¤t_sprite);
say("`8So do I",&guard2);
That would actually make them all say it at the same time. So you might want to change it to...
say_stop("BlaBla",1);
say_stop("`7I agree",¤t_sprite);
say_stop("`8So do I",&guard2);