Anyway, here's what I want it to do,
I have a mesh which has a "blade-out" and "blade-in" form. They both are actually set up as armor, so I made an invisible dagger. When the player draws the invisible dagger I want the active bracer to be added and equipped. When the blade is sheathed, I want the inactive version to be added and equipped. However, I'm not sure if my script will account for when the invisible dagger is NOT equipped, as in, I think that if the script runs through and then I unequip the invisible dagger, then the inactive bracer will still be there.
If I haven't been clear please ask me to clarify.
Will it do it? Any issues?
begin md_OOTL_bladeif (hasitemequipped "md_amael_invisidagger" == 0) Returnendifif (getweapondrawn == 1) additem "md_amael_blade_active" 1 equip "md_amael_blade_active" removeitem "md_amael_blade_inactive" 1elseif (getweapondrawn == 0) additem "md_amael_blade_inactive" 1 equip "md_amael_blade_inactive" removeitem "md_amael_blade_active" 1endifend
Thanks,
-Melchior Dahrk