brwarner Posted December 30, 2005 Share Posted December 30, 2005 What kind of script function would I need to make the head of an npc the same as the main pc(you)?? Link to comment Share on other sites More sharing options...
JediKnight707 Posted December 30, 2005 Share Posted December 30, 2005 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 Link to comment Share on other sites More sharing options...
Darth333 Posted December 30, 2005 Share Posted December 30, 2005 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 Link to comment Share on other sites More sharing options...
T7nowhere Posted December 30, 2005 Share Posted December 30, 2005 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. Link to comment Share on other sites More sharing options...
Darth333 Posted December 30, 2005 Share Posted December 30, 2005 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.