JediMaster76 Posted May 31, 2008 Posted May 31, 2008 In KOTOR 1, is it possible to spawn enemies inside the Ebon Hawk at a certain point and have them fight you and your party? (in a similar manner of the Red Eclipse in TSL)
Marius Fett Posted June 1, 2008 Posted June 1, 2008 Do you mean as part of a quest? Or as a sort of 'minigame' where you do something to trigger their appearence, eg. use a console. Either way, yeah it's possible to do.
JediMaster76 Posted June 1, 2008 Author Posted June 1, 2008 Well, its for a quest, basically, after you talk to a party member "x" amount of times, enemies spawn on the Ebon Hawk. How would I go about spawning those guys into the Ebon Hawk?
Marius Fett Posted June 1, 2008 Posted June 1, 2008 You'd need a spawn script. Get the co-ordinates you want the NPC to be spawned at and use this script: void main() { CreateObject(OBJECT_TYPE_CREATURE, "creature_templateresref", Location(Vector(X.XX,Y.YY,Z.ZZ), R.R)); } Replace creature_templateresref with your NPCs tag, and replace X.XX,Y.YY and Z.ZZ with your X, Y, and Z co-ordinates respectively and replace R.R with your desired orientation. For orientation here are the basic values: North: 0.0 East: 90.0 South: 180.0 West: 270.0 Oh and to get the coordinates use the whereami cheat.
JediMaster76 Posted June 1, 2008 Author Posted June 1, 2008 Thanks for the spawn script, but would I attach it to ebon_m12aa (or something like that), or would I attach it to dialog?
Sithspecter Posted June 1, 2008 Posted June 1, 2008 Thanks for the spawn script, but would I attach it to ebon_m12aa (or something like that), or would I attach it to dialog? You'd probably want to attach it to the dialog.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.