Reply to Re: End of Sprites
If you don't have an account, just leave the password field blank.
Probably this would work:
disable_all_sprites();
sp_disabled(1, 0);
and to undo use enable_all_sprites();
DinkC Ref: "When disabled is 1, the sprite is not visible, cannot move, and its brain does not function. Any script that is attached to the sprite will still run, though, and the sprite can still be interacted with (default procedures like hit and talk will work fine)."
To remove them completely you'd have to get rid of each one seperately I suppose by using sp_active or something.
Edit: Some kind of loop? This might work, off the top of my head:
disable_all_sprites();
sp_disabled(1, 0);
and to undo use enable_all_sprites();
DinkC Ref: "When disabled is 1, the sprite is not visible, cannot move, and its brain does not function. Any script that is attached to the sprite will still run, though, and the sprite can still be interacted with (default procedures like hit and talk will work fine)."
To remove them completely you'd have to get rid of each one seperately I suppose by using sp_active or something.
Edit: Some kind of loop? This might work, off the top of my head:
int &sp_num = 2; loop: sp_active(&sp_num, 0); &sp_num += 1; if (&sp_num < 250) goto loop;