You must be logged in to do that.

FileWriteCHR

FileWriteCHR
void FileWriteCHR(int filehandle, int ent)

Documentation

Writes an on-map entity into a file handle open for writing. Fairly advanced, so this is only recommended if you plan on making a map editor within Verge or something. Although, you can't exactly manipulate the entity's image data at the moment, so this is also VERY limited.

Example Usage

int f = FileOpen("mychr.chr", FILE_WRITE);
if (f)
{
	FileWriteEntity(f, 0);
	FileClose(f);
}
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.