Jump to content

Home

Making the party selection screen appear


Darth Balor

Recommended Posts

How do i get the party seledtion screen to appear after the end of a dialog?

 

I've cleared the party before showing the GUI. If you don't want to do this then just comment it out :).

 

void main()
{

   int i;

   // Clear the party
   for (i = 0; i < 12; i++) {

        RemoveNPCFromPartyToBase(i);         

   }
   // End clearing of party

   // If you want the player to be able to cancel out of the screen replace it with this:
   // ShowPartySelectionGUI("", -1, -1, TRUE);
   ShowPartySelectionGUI();

}

 

I'm presuming you wanted this for TSL?

Link to comment
Share on other sites

K, thanks. How would I comment it out(if I wanted to?)

 

"//" the double slashes would do that , its something commen in programming and scripting languages ;)

 

If you want to at comments use them , it makes reading scripts for other people a bit easier to and for yourself ofcourse , so you don't forget what the script is all about or what particular part of code was for .

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...