I was looking for something a little different, a script that would change the Pc to another race when they equipped an item and make it permanent so they would stay that way when the item was unequipped
Dragon Lance wrote:I know there are mods out there that do that
No, this thing is not achievable. You cannot change bodyparts using a function. You are forced to pass through the "enableracemenu" function to achieve that. There are also other methods, such as wearable bodyparts, but I don't think they would be useful in your case.
Raflod the Braggart - Seyda Neen, Arrille's Tradehouse
Ugh, no. The disguise spell for Lichcraft is horrid. Can someone please convert it to BB Dunmer?
"They called him Chazz, of Blades... the Un-Lucker." - Adavad Senoj
"There is only one basic human right, the right to do as you damn well please. And with it comes the only basic human duty, the duty to take the consequences. - P.J. O'Rourke"
LAL uses an external binary file that reads the body parts from a file and then swaps the meshes out - it does not use an MWSE scripting function to do so. The only way to change the player's race is through the enableracemenu command. You can either use it in the console or a script, but you cannot change the player's race any other way. You can, however, make a "dunmer" suit (clothing) that they could wear, but the player will still be their old race.