Ever get tired of Oblivion's over abundance of males? Wishing for more females in specific places, like that castle mod you love? Why not change the six of any NPC in game with a spell! At least, that was my plan. It beat having to go into the editor to change a couple NPC's from some mod that I'm using. I was originally inspired by the "Set Essential Actors Spell" mod, and decided to do one like it, but change the NPC's six instead. I'd never scripted in OBSE before, but already had it installed, and with a little tinkering and judicial Google use, was able to get a spell that did what I wanted, only to find out that OBSE's six change command is broken! Yeah sure, it changes the six alright, but it doesn't update the NPC properly afterward. When first used, the NPC completely vanishes except for their moth and eyes, which look odd and a bit grotesque, just floating there in the air. I figured all I needed to do was get Oblivion to redraw the NPC again, and tried equipping and then unequipping an piece of clothing on the NPC (via the console). It worked...to an extent. The NPC's body reappeared (allowing me to confirm the six change had been successful), but the head remained missing. Just those two freaky eyeballs and the floating mouth. So I tried equipping a Daedric helm (which covers the entire head) and noticed an immediate improvement, at least for as long as the helm remained on. When I took it back off, the hair was now there, but the had was still missing! I also tried disabling and then renabling the NPC, but this undid the six change.
Now the way I see it, any body part that is actually disabled when an article of clothing is put on (like arms, legs, and hair) get redrawn. Unfortunately, putting on a helmet (even a Daedric one) doesn't actually disable the NPC's head, just their hair. Is there anyway to get this effect for the whole NPC's head? If there was, I could create an object to do that and then equip and remove that object on the NPC in the spell's script. Or is there any other way to disable an NPC's head or call some kind of redraw function?
Oh, and could someone yell at someone who works on the OBSE and get them to fix the setFemale function?
This is most likely more work than I'd like to do, but I also noticed something called NifSE, a NIF script editor. If anyone knows anything about this and a possible way to get it to fix my problem, I'm willing to hear it. But I'm pretty sure setFemale switches the NIF file correctly, it just never redraws it...
Edit: I tried taking advantage of the 72 hour bug, but this had the same effect as equipping clothing on the NPC (probably because that's what happened during the 72 hours).