I've been trying to figure out this one script for the past few hours now for kotor 1. I've created a basic conversation with a custom NPC in which the player talks to the NPC, and the NPC offers to take the PC somewhere. The player has the choice to either accept or decline. Upon accepting the PC is supposed to be warped to another module, this is where I'm stuck. I've set a script to fire upon the agreement dialogue ending and nothing seems to happen. I'm not very good at scripting as of yet, since I've just started doing it for kotor. I spent a good few minutes reading this whole thread to see what I find, and used what seemed to be relevant, and this is what I've got as a script so far:
void main(){
SetGlobalBoolean("EH_WARP", TRUE);
StartNewModule("tat_m17mg");
}
I've noticed also that when I try and compile my scripts, a message comes up stating that it was "Unable to open input file 'C:\Users\USER\Desktop\kotor modding\mods\dan_m13_2\k_dan_swoop.ncs". So I don't know if maybe this has something to do with it.