void ChangeCHR(int ent, string chrfile)
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.
// 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"); }
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |