You must be logged in to do that.

BlitEntityFrame

BlitEntityFrame
void BlitEntityFrame(int x, int y, int ent, int frame, int dest)

Documentation

Blits the frame number frame of entity ent to the dest image at coords (x, y). It will not draw transparent pixels, and abides SetLucent values.

If you add this to a HookEntityRender(), you can get the current entity being referenced using event.entity.

Example Usage

void PaperDollRender()  //add to a HookEntityRender
{
   //Blit current frame of the entity being referenced
   BlitEntityFrame(x, y, event.entity, frame_index, screen);
   //Blit Paper Doll Stuff
}
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.