bmap_blit is what I need, but I don't see it in the manual and it doesn't like it in the script editor. Is it in the beta?
The real code looks like this. I'm using a link list in a .dll to push out various BMAPs so I need it to be a bmap and not the name of one.
Code:
function animNorth_entSprite()
{
var animRate =60;
var numFrames =0;
numFrames =GetNumAnimBMap(my.northKeyIdle);
var animFrame =0;
while(1)
{
animFrame +=GetSeconds();
if(animFrame>=numFrames)
{
animFrame =0;
}
my.bmap =GetAnimBMap(my.northKeyIdle,int(animFrame));
my.scale_x =1;
my.scale_y =1;
wait(1);
}
}
Guess I'll write a c++ function for now.