You must be logged in to do that.

ChangeCHR

ChangeCHR
void ChangeCHR(int ent, string chrfile)

Documentation

Replaces entity ent's character sprite on the map with the file named chrfile. In addition to the character's appearance, this will also affect the hotspots and the animation associated with it.

Example Usage

// Create our player.
int player = EntitySpawn(10, 10, "me.chr");

// Are we disguised?
if (disguise)
{
	// ...We're disguised!
	// Look like someone else!
	ChangeCHR (player, "him.chr");
}
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.