Reply to Re: How can I code this situation?
If you don't have an account, just leave the password field blank.
Have the NPC walk off the screen with a move() command, then if you want to kill it off, use sp_active();
So, it would be something like this:
move_stop(&npc, 2, -100, 1);
sp_active(&npc, 0);
If the sp_active(); value of a sprite is 0, then the sprite is 'dead'. It disappears. So, that's why it's a good idea to have it walk off the screen before it vanishes. Also, note that once you inactivate something, you can't activate it again. It is gone forever.
So, it would be something like this:
move_stop(&npc, 2, -100, 1);
sp_active(&npc, 0);
If the sp_active(); value of a sprite is 0, then the sprite is 'dead'. It disappears. So, that's why it's a good idea to have it walk off the screen before it vanishes. Also, note that once you inactivate something, you can't activate it again. It is gone forever.