Dak Drexl Posted May 29, 2011 Share Posted May 29, 2011 This might be tough for me to explain but I'll try my best. I'm making a sidequest that the PC is not a part of at all. I found a script to change the party leader, so I have that covered. However, how do I make temporary party members? Moreover, how do I make it so that they are "forcibly" selected so that when recruited you can't just pick another member instead of the new member that I'm intending to join on this mission? I guess I recruit the new NPC as normal and re-recruit the original party members when the quest is finished, no? I'm just pretty confused with this. I would appreciate any help! Link to comment Share on other sites More sharing options...
newbiemodder Posted May 30, 2011 Share Posted May 30, 2011 I'll use my examples to show how I did it This is how I added Jolee to the selection gui to replace Kreia void TwinsFunction() { object oGoodbye; oGoodbye = GetObjectByTag("Jolee"); DelayCommand(2.0, DestroyObject(oGoodbye)); } void RecruitFunction() { [color="Yellow"]RemoveAvailableNPC(6); AddAvailableNPCByTemplate(6, "p_jolee02"); SetNPCSelectability(6, TRUE); DelayCommand(1.5,ShowPartySelectionGUI("", 6));[/color] } void main() { RecruitFunction(); TwinsFunction(); } The code above in yellow is how I added Jolee to replace Kreia and make him mandatory in the party. void main() { DestroyObject(GetObjectByTag("plc_elevbtn")); DestroyObject(GetObjectByTag("Jawa01")); [color="yellow"]RemoveAvailableNPC(6); AddAvailableNPCByTemplate(6, "p_kreia"); SetNPCSelectability(6, FALSE); [/color] } This section in yellow restored Kreia to the gui''= Hope this helps you in some way. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.