114529 Posted March 15, 2023 Posted March 15, 2023 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
maxarturo Posted March 15, 2023 Posted March 15, 2023 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)
114529 Posted March 15, 2023 Author Posted March 15, 2023 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
Recommended Posts