Reply to Re: NPCs
If you don't have an account, just leave the password field blank.
That's not exactly the best way to be doing it, since it won't work if you're using visions. Either put :
&spr_one = &current_sprite in the first sprite's main procedure and :
&spr_two = &current_sprite in that of the second and add these 2 variables to main.c. Mind you that I do not advice you to do this with every sprite since you only have a limited number of globals available.
The other way you can do this is create them inside a (base) script by doing :
int &spr_one = create_sprite(x, y, brain, seq, frame); and the same for &spr_two. Then you can access these sprites inside the current script. This probably makes it more complicated, but if you're working with visions there's no other way.
&spr_one = &current_sprite in the first sprite's main procedure and :
&spr_two = &current_sprite in that of the second and add these 2 variables to main.c. Mind you that I do not advice you to do this with every sprite since you only have a limited number of globals available.
The other way you can do this is create them inside a (base) script by doing :
int &spr_one = create_sprite(x, y, brain, seq, frame); and the same for &spr_two. Then you can access these sprites inside the current script. This probably makes it more complicated, but if you're working with visions there's no other way.