Jump to content

Home

Spawn Glitch


HK-42

Recommended Posts

here

 

:lol:

 

My first spawn horrible wrong. Problems: Multiple(x10) Bots of "Helga", Skips Intro scence and have to open door then talk to Trask.

 

I believe there is a script that stops multiple bots appearing but I dont recall it

 

My Script:

void main() {
   CreateObject(OBJECT_TYPE_CREATURE, "end42_jedi001", Location([52.84, 35.67, 1.27], 0.0));
   ExecuteScript("old_k_pend_area01", OBJECT_SELF);
}

 

Any problems in it with the intro scenes too?

Link to comment
Share on other sites

Well heres MY spawn script. I think you might need to use this as a base:

void main() { // <1> 
           object oEntering = GetEnteringObject(); 
           object oPC = GetFirstPC();
            if(GetIsPC(oEntering) && !(GetIsObjectValid(GetObjectByTag("hawkx")))) { // <2>
            CreateObject(OBJECT_TYPE_PLACEABLE, "hawkx", Location(Vector(58.25, 50.77, 1.80), 3.04));  
            } // </2>
ExecuteScript("old_k_003ebo_enter", OBJECT_SELF);
} // </1>

Hope this helps!

 

 

~Canderis

Link to comment
Share on other sites

Well heres MY spawn script. I think you might need to use this as a base:

void main() { // <1> 
           object oEntering = GetEnteringObject(); 
           object oPC = GetFirstPC();
            if(GetIsPC(oEntering) && !(GetIsObjectValid(GetObjectByTag("hawkx")))) { // <2>
            CreateObject(OBJECT_TYPE_PLACEABLE, "hawkx", Location(Vector(58.25, 50.77, 1.80), 3.04));  
            } // </2>
ExecuteScript("old_k_003ebo_enter", OBJECT_SELF);
} // </1>

Hope this helps!

 

 

~Canderis

 

ok ill try this one, I used the one in Cheat Bot on Kotorfiles as a base. I just compliled this and ill edit if it worked or not

 

Cheers!:D

 

EDIT: No Luck, it still skiped the scenes and she didnt spawn

 

void main() { // <1> 
           object oEntering = GetEnteringObject(); 
           object oPC = GetFirstPC();
            if(GetIsPC(oEntering) && !(GetIsObjectValid(GetObjectByTag("end42_jedi001")))) { // <2>
            CreateObject(OBJECT_TYPE_PLACEABLE, "end42_jedi001", Location(Vector(52.84, 35.67, 1.27), 0.0));  
            } // </2>
ExecuteScript("old_k_pend_area01", OBJECT_SELF);
} // </1>

 

EDIT2: Got it it was still marked as a placeable. Thanks! Now just got to get the cutscence to work

Link to comment
Share on other sites

Make sure that you have the old on enter script is named exactly what you have told this script it is and also make sure that it is in the override folder.

 

I scraped it, I made it a test to see if I could learn to spawn something, then add dialog to it.

 

Originally it was going to be a mod, adding a jedi to your party on the endar spire. Then I noticed it has already been done and is up on kotorfiles.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...