View Single Post
Old 04-19-2012, 05:31 PM   #170
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tython
Posts: 1,586
Current Game: SWTOR
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
Quote:
Originally Posted by UltimateHK47 View Post
Just out of intrest how would you go about creating a script for endgame? You know, after the last k1 movie has played and you return to the main menu. This is my idea of how it would look (note that im the worst scripter holowan has known),

Code:
void main() 
{
StartNewModule("ENDGAME");
}
    }
Here's the code to return to the main menu:
Code:
    // NOTE: If you put EndGame(TRUE); or EndGame(1); or if you don't put a 
    // variable, it will default to displaying the death GUI. To not display 
    // the death GUI, you have to put EndGame(FALSE); or EndGame(0);
void main()
{
    EndGame(0);
}

Ferc Kast is offline   you may: quote & reply,