Sikon Posted November 30, 2005 Share Posted November 30, 2005 I need to prevent the player from selecting anyone into the party. However, it should be done via a script, because the zone needs to allow party selection before some point and disallow it after that point. I can, of course, do SetNPCSelectability(i, 0) for each party member and then undo it after the player passes the party-locking section, but it's an ugly solution. Link to comment Share on other sites More sharing options...
stoffe Posted November 30, 2005 Share Posted November 30, 2005 I need to prevent the player from selecting anyone into the party. However, it should be done via a script, because the zone needs to allow party selection before some point and disallow it after that point. I can, of course, do SetNPCSelectability(i, 0) for each party member and then undo it after the player passes the party-locking section, but it's an ugly solution. You can use the SetAreaUnescapable() function to disable use of the party selection screen. Set the parameter to TRUE to prevent the player from changing party members, and set it back to FALSE to allow changing party members again. (If it's for KotOR1, note that this will also disable the "Return to Ebon Hawk" button in the map screen.) Link to comment Share on other sites More sharing options...
Sikon Posted November 30, 2005 Author Share Posted November 30, 2005 Well, the "Return to Ebon Hawk" function is absent in TSL, so this is exactly what I need. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.