Jump to content

Home

Completely confused with script compiling.


Vox Kalam

Recommended Posts

by compiling (I thought this was mentioned in the tutorial)...

 

Anyways, with Kotor Tool, go to the tools menu, select the text editor. Then in the text editor window, go to the script menu, select your game (kotor 1 or kotor 2), make your script and then either go to the script menu and select compile or press F5

Link to comment
Share on other sites

If you were to have:

 


void main()
{
object oItem=CreateItemOnObject( "g_i_drdcomspk004", GetFirstPC());
}
[/Code]

 

That would work. Do you have that? If you do, yes it should work. What you want to do to correct your issue in KotOR Tool is save your script. Go to where it is saved and rename it so it has .nss, as KT seems to skip the extension off, (Is it only me that KotOR Tool does this to?) at the end and then go and compile it. It should compile properly.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...