Trex Posted February 27, 2012 Share Posted February 27, 2012 I'm kinda surprised I couldn't find this myself, (maybe I'm missing something obvious), but what's the script for granting prestige classes for the PC? Link to comment Share on other sites More sharing options...
newbiemodder Posted February 27, 2012 Share Posted February 27, 2012 There is this script a_pc_jedi...from the source scripts in KotorTool // This makes the PC one of the Jedi classes, depending on parameter. // Param Count = 1, decides which class to make him or her. // 0 = Weaponmaster // 1 = Watchman // 2 = Jedi Master // 3 = Marauder // 4 = Sith Assassin // 5 = Sith Lord // CFA 10-6-04 void main() { // Grab the Parameter. int nScriptNumber = GetScriptParameter( 1 ); // If Param = 0, then make him a Jedi Weaponmaster. if ( nScriptNumber == 0 ) { AddMultiClass (CLASS_TYPE_JEDIWEAPONMASTER, GetFirstPC () ); } // If Param = 1, then make him a Jedi Watchman. if ( nScriptNumber == 1 ) { AddMultiClass (CLASS_TYPE_JEDIWATCHMAN, GetFirstPC () ); } // If Param = 2, then make him a Jedi Master. if ( nScriptNumber == 2 ) { AddMultiClass (CLASS_TYPE_JEDIMASTER, GetFirstPC () ); } // If Param = 3, then make him a Sith Marauder. if ( nScriptNumber == 3 ) { AddMultiClass (CLASS_TYPE_SITHMARAUDER, GetFirstPC () ); } // If Param = 4, then make him a Sith Assassin. if ( nScriptNumber == 4 ) { AddMultiClass (CLASS_TYPE_SITHASSASSIN, GetFirstPC () ); } // If Param = 5, then make him a Sith Lord. if ( nScriptNumber == 5 ) { AddMultiClass (CLASS_TYPE_SITHLORD, GetFirstPC () ); } } Link to comment Share on other sites More sharing options...
Trex Posted February 27, 2012 Author Share Posted February 27, 2012 Thank you. That worked perfectly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.