how do i make a weapon or armor or whatever that is only usable by an NPC? i have looked at all the other NPC items, and they don't help at all. they all seem like normal weapons etc. i looked at the NPCs themselves, and their scripts. am i missing something?
NPC usable only
Started by Awake, Sep 29 2004 06:20 AM
5 replies to this topic
#1
Posted 29 September 2004 - 06:20 AM
Black Wyrm Forums host of the World Transition Project, Beastial Animations, and much more!
And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!
Like dealing with terrorists by giving them explosives. -NotMrT
If you don't know where you're going, any road will take you there.
And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!
Like dealing with terrorists by giving them explosives. -NotMrT
If you don't know where you're going, any road will take you there.
#2
Posted 29 September 2004 - 06:23 AM
Change the usability flags to reflect stats and class/race/kit of your NPC. That should do the trick. Otherwise you could have an Equipping Effect: Destroy/Move/Replace item if equiped by anyone other than the NPC.
Yikari, monk NPC
Shed's Mods - Three time TeamBG Contest winner!
The Jerry Zinger Show
ShedPlant.net
#3
Posted 29 September 2004 - 06:45 AM
this question was asked within 2 week ago someone said not to change usability flags to reflect stats if you recived a stat reduction your weapon would be un-usable
Use search!
Use search!
Edited by Sir-Kill, 29 September 2004 - 06:45 AM.
Live Free Or Die
#4
Posted 29 September 2004 - 06:58 AM
I used search, what am i supposed to search under? i tried NPC usable only, and then NPC usable.
Black Wyrm Forums host of the World Transition Project, Beastial Animations, and much more!
And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!
Like dealing with terrorists by giving them explosives. -NotMrT
If you don't know where you're going, any road will take you there.
And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!
Like dealing with terrorists by giving them explosives. -NotMrT
If you don't know where you're going, any road will take you there.
#5
Posted 29 September 2004 - 09:50 AM
Another possibility is to set a unique 'specific' value to your NPC and do something nasty if the wielder hasn't that specific.
Instant death, slip weapon from hand, petrification, etc.
To make a single specific immune to the nasty effects, add an opcode #177 with ids targeting the specific.
And add an external effect which makes a short term immunity against it.
I like weapons burning evil/good, etc much more than a single usability bit.
Instant death, slip weapon from hand, petrification, etc.
To make a single specific immune to the nasty effects, add an opcode #177 with ids targeting the specific.
And add an external effect which makes a short term immunity against it.
I like weapons burning evil/good, etc much more than a single usability bit.
Avenger
#6
Posted 29 September 2004 - 11:03 AM
You can also set a script block to unequip the item if the wrong person is holding it (remove item and then give item into a general slot).
If you're doing the flags, make sure you don't specify anything that can be changed. Stats can be altered, and if your NPC is human they can be dual classed too!
If you're doing the flags, make sure you don't specify anything that can be changed. Stats can be altered, and if your NPC is human they can be dual classed too!