The Dink Network

Sprite deletion

June 3rd 2003, 07:35 PM
pillbug.gif
Without using a local variable, could someone please tell me how to delete a sprite during a cut scene, thanks a lot
June 3rd 2003, 08:33 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
Doubt it. Why don't you just use a varible? It isn't like you can easially run out.
June 3rd 2003, 09:28 PM
pillbug.gif
oh...uh....erm...
good point...

easily by the way
June 4th 2003, 09:25 AM
spike.gif
use sp();

e.g.
int &blah = sp(3);
sp_active(&blah, 0);
June 6th 2003, 06:25 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
You can find the editor number in Dinkedit. Not sure if WDE supports it as well.

There are a few remarks however. If you're using visions, sp() won't work. If you create sprites, they don't have a editor number.

There, that should help you.
June 6th 2003, 12:40 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
June 23rd 2003, 08:15 AM
slayer.gif
MadStalker
Peasant He/Him Finland
tag line