Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Spawn Glitch

Page: 1 of 1
 HK-42
12-14-2008, 9:55 PM
#1
here (http://i141.photobucket.com/albums/r73/DarthGrivis/spawnglitch.jpg)

: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?
 Canderis
12-14-2008, 10:02 PM
#2
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
 HK-42
12-14-2008, 10:07 PM
#3
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
 Canderis
12-15-2008, 5:13 PM
#4
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.
 HK-42
12-15-2008, 5:19 PM
#5
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.
Page: 1 of 1