For some reason, I can't get k_sup_galaxymap to compile, I have no clue why, as I only edited one row.
This is the section edited:
//While on Korriban Bastila is not available to take outside the Ebon Hawk.
//After the Leviathan Bastila will never be available again. I put this check in to
//make sure she does not get made selectable by accident after the Leviathan. It also
//does not allow Bastila to be taken on to Korriban
if(nSelected != 30 && nKOTOR == 15)
{
SetNPCSelectability(NPC_BASTILA, TRUE);
}
else if (nSelected == 30)
{
SetNPCSelectability(NPC_BASTILA, TRUE);
}
This is the error message:
k_sup_galaxymap.nss(209): Error: Function "EBO_PlayTakeOff"'s prototype doesn't match the declaration
k_sup_galaxymap.nss(211): Error: Undeclared identifier "nCurrentPlanet"
k_sup_galaxymap.nss(240): Error: Return Statement outside the scope of function
k_sup_galaxymap.nss(243): Error: Function "EBO_PlayLanding"'s prototype doesn't match the declaration
k_sup_galaxymap.nss(274): Error: Return Statement outside the scope of function
For some reason, I can't get k_sup_galaxymap to compile, I have no clue why, as I only edited one row.
k_sup_galaxymap.nss(209): Error: Function "EBO_PlayTakeOff"'s prototype doesn't match the declaration
The k_inc_ebonhawk.nss include file that comes with KOTOR is broken, you'll need to fix an error in it before you can use it to compile the script.
On line 243 in that script, change...
string EBO_PlayLanding(int nDestination)
...to...
void EBO_PlayLanding(int nDestination)
And on line 274, remove return "NULL";