Concerning this section of code:
Code:
string stringGLOB_1 = "bastila";
string stringGLOB_2 = "carth";
string stringGLOB_3 = "dan13_WP_council";
string stringGLOB_4 = "g_w_lghtsbr01";
string stringGLOB_5 = "g_w_lghtsbr03";
string stringGLOB_6 = "g_w_lghtsbr04";
string stringGLOB_7 = "dan_wanderhound";
// Prototypes
object sub1();
object sub1() {
object oPC = GetFirstPC();
object object3;
object object4 = GetItemPossessedBy(GetFirstPC(), "dan13_plotcrys");
SetPlotFlag(object4, 0);
DestroyObject(object4, 0.0, 0, 0.0)
make these changes:
Code:
string stringGLOB_1 = "bastila";
string stringGLOB_2 = "carth";
string stringGLOB_3 = "dan13_WP_council";
string stringGLOB_4;
string stringGLOB_5;
string stringGLOB_6;
string stringGLOB_7 = "dan_wanderhound";
// Prototypes
object sub1();
object sub1() {
stringGLOB_4 = "g_w_lghtsbr01";
stringGLOB_5 = "g_w_lghtsbr03";
stringGLOB_6 = "g_w_lghtsbr04";
object oPC = GetFirstPC();
object object3;
object object4 = GetItemPossessedBy(GetFirstPC(), "dan13_plotcrys");
SetPlotFlag(object4, 0);
DestroyObject(object4, 0.0, 0, 0.0)
I don't know if it will help, but it worked on my HK factory code.