SeraphimKensai Posted October 4, 2018 Share Posted October 4, 2018 Hey everyone, does anyone if it's possible and if so how to create essentially a bound weapon spell that summons in a scripted weapon? The weapon when acquired normally outside of papyrus works great, but when it is acquired via the bound weapon archtype, the weapon is summoned in like you would expect, however the weapon's scripted effect does not fire. Is there a means via papyrus to summon/equip the bound weapon and have the associated script fire as designed? As usual thanks. Link to comment Share on other sites More sharing options...
Reneer Posted October 4, 2018 Share Posted October 4, 2018 You'll need to post your script code before anyone can really help you. My guess is that the "associated script" isn't firing because it doesn't have the right event call inside it. Link to comment Share on other sites More sharing options...
SeraphimKensai Posted October 4, 2018 Author Share Posted October 4, 2018 Scriptname Scriptname extends ObjectReference Ammo Property Arrow auto Actor Property PlayerRef Auto Event OnEquipped(Actor akActor) akActor = PlayerRef akActor.Additem(Arrow, 200) akActor.EquipItem(Arrow, true) EndEvent Event OnUnEquipped(Actor akActor) akActor = PlayerRef akActor.UnequipItem(Arrow) akActor.RemoveItem(Arrow, 10000, true, none) EndEvent Link to comment Share on other sites More sharing options...
SeraphimKensai Posted October 4, 2018 Author Share Posted October 4, 2018 Realistically, I think the script for the weapon itself is likely fine. The issue seems to be a limitation in the engine to initiate the script when the item is called into the game via a spell using at the very least, the bound weapon archtype that is used by the game for the normal bound weapon summons. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted October 4, 2018 Share Posted October 4, 2018 Your setup is a little wrong for how the bound bow works. A spell is cast, that spell has a magic effect with the script BoundBowEffectScript attached to it. This script is what handles the arrows while the bow itself is given elsewhere in the effect. There is no script on the bound bow itself. Link to comment Share on other sites More sharing options...
SeraphimKensai Posted October 4, 2018 Author Share Posted October 4, 2018 Hmmm. I'll give that a try later tonight. I have the script on the bow itself as it was normally not a bound bow, and was useful for equipping the bow's custom arrows for explosive shots. Link to comment Share on other sites More sharing options...
Recommended Posts