hmm.. how is this working???
i created it as a new script.. included it to main..
and called it this way:
while(key_p == 0){wait(1);}
var slicemap;
BMAP* slicebit = bmap_create("Graphics/Characters/GegnerWeisserDrachenreiterstehen_%4.png");
slicemap = bmap_lock(slicebit,0);
bmap_slice("Graphics/Characters/GegnerWeisserDrachenreiterstehen_%4.png",
"Graphics/Characters/GegnerWeisserDrachenreiterstehen_%4.tga",
slicebit.width,
slicebit.height/4);
bmap_unlock(slicebit);
ptr_remove(slicebit);
beep();
But it seems that nothing happens..
I tired with path.. without path. TGA => TGA, PNG => PNG, PNG => TGA, TGA => PNG..
nothing... But no error.. and the beep is played..