PDA

View Full Version : Well... I'm stuck...


Darth Kalverys
12-24-2007, 02:40 AM
Ok... so I was going back through my old files of Dark Juhani... and well I added a Datapad, a Juhani's Sith Lightsaber, and a Juhani's Sith robe... but I can't put it on her on Kotor Tool, which means it won't show up in game unless you cheat it in... but I don't want to have to cheat it in the game, I want to add it to her corpse if you kill her... how can I do this?

e-varmint
12-24-2007, 02:52 AM
Ok... so I was going back through my old files of Dark Juhani... and well I added a Datapad, a Juhani's Sith Lightsaber, and a Juhani's Sith robe... but I can't put it on her on Kotor Tool, which means it won't show up in game unless you cheat it in... but I don't want to have to cheat it in the game, I want to add it to her corpse if you kill her... how can I do this?

You can use a script similar to this to get the items automatically when she dies:

void main()
{
CreateItemOnObject("item_template", GetFirstPC());
}


I use identical names for both the tag and resref of my items. I think this script uses the resref. Add a new line for each item you want to add. Open her .utc file and put the name of her script in the OnDeath field in the Scripts tab.

Darth Kalverys
12-24-2007, 02:56 AM
You know, to me, you just spoke Chinese... and I speak English... but I have no idea how to script or anything similar to scripting.

:edit:

Nevermind, I figured it out!