View Full Version : Attaching items to NPCs

07-04-2002, 10:01 PM
Probabaly an easy one for someone, but I can't work it out....
Any ideas how to attach a key or other item to an NPC so that when they are killed the key/item is left there?

07-05-2002, 12:28 AM
i woudl definately like to know this aswell.
good luck,

07-11-2002, 06:21 AM
Tell me it ain't scripting.....

07-11-2002, 06:42 AM
It probably is. Besides, you're going to need to know some ICARUS scripting to make a half decent level.

07-11-2002, 06:53 AM
I'm willing to make a far less than half decent map if it means I can avoid scripting, but don't quote me on that ;)

07-11-2002, 11:44 AM
It probably is.
Actually, no. The only NPCs you would normally leave keys on would be an NPC_Imperial. All you need to do is add the key "message" and the name of whatever key you want for the value. You might be able to do this with other NPCs, but I haven't tried myself.

07-11-2002, 12:19 PM
Is it possible to set keys to just the door, and not to a control panel? Or a control panel to unlock, and not having a control panel to open the door? Like set it to player_use or something?

07-12-2002, 07:25 AM
Thanks a lot man :), i'm relieved to hear its fairly simple to do! :D