What kind of script function would I need to make the head of an npc the same as the main pc(you)??
Well, from my connected knowledge of scripting (I guarantee you I'm wrong on this one) but you would do something like where you make it: Atton_NPC face = PFGHB04 or whatever your face is. Something of that nature :)
void main ()
{
object oNPC= GetObjectByTag("my_npc_tag");
DuplicateHeadAppearance(oNPC, GetFirstPC());
}
I used it in the Cheesy Halloween pack mod (d3_surprise.nss) if you want to have a look:
http://lucasforums.com/showthread.php?t=154622)
Hey D333, do ya think thats what the devs used during the Revelation cutscene on the temple summit? I've wondered how they did that.
Also is there a similar script functions to duplicate body appearance or full npc appearance. I know there is a script function to change a npc's appearance, just wonder if its possible to change just the body and leave the head intact.
Edit: Never mind I just checked NWscript it seems to be the only duplicate function.
Yes, this is exactly what they use in the cutscene. The game checks if the pc is male or female to decide which body model to spawn and for the head it uses DuplicateHeadAppearance.