I'm trying to develop a set of Kunai style throwing daggers for my Akiviri Collection mod. I already have the weapon, casting art and animated spinning projectile for the scroll type working, but It would be cool if the dagger was usable as a weapon or throw-able depending on how it was "held".
I've tried to get my head around this but i'm going around in circles.
Is it possible with scripts to add and equip a power when the weapon is equipped so that it is toggle-able between a weapon version and a scroll version.
ie...
dagger is equipped > add toggle power 1>
Use toggle power 1 > remove dagger, add and equip scroll type
(so that when the scroll is cast it disappears as usual and the dagger is already gone.)
or
scroll is equipped> add toggle power 2>
Use toggle power 2> remove scroll, and add and equip dagger
I'm assuming an OnEquipped script extending Object reference for the dagger/ scroll that adds the power and remove item stuff, and an EquipItem on actor to force add and equip the scroll/dagger, but when i comes to how to phrase and implement that I'm lost and losing enthusiasm.
I would love advice from someone versed in this.