Jump to content

Is there a way to force equip torches to npc's?


114529

Recommended Posts

Hello,

 

I have been working on a mod which adds animated flags which you can equip.

So far, I have a working model which the player can equip.

 

 

 

I found that using the torch animations and properties almost perfectly captures how I want the flags to function in game. (The animations are perfect and I want the item to be in the misc section of the inventory)

 

However, NPC's do not equip the flags, due to the fact it initially is a torch.

 

 

What would be a good way to forcibly equip torches to npc's? I would like them to equip it when it merely is in their inventory.

 

Thanks

 

Link to comment
Share on other sites

You need to run a script, and a way to run that script on the said npc, it could be from an 'Ability Spell' on the npc or a spell casted by the player or some other kind of function that will run this line:


NPC.EquipItem(MyFlag, true, true)

Link to comment
Share on other sites

 

You need to run a script, and a way to run that script on the said npc, it could be from an 'Ability Spell' on the npc or a spell casted by the player or some other kind of function that will run this line:
NPC.EquipItem(MyFlag, true, true)

Thanks, I will try

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...