IncuBB Posted July 15, 2012 Share Posted July 15, 2012 Good day all. I wanna make a full set of the new weapon, called "Weapons of Daedra"The sword (Blade) is ready.But i have a problems with bow...You see - i want to make bow working like a bound bow. With auto equipping arrows. The problem is that i dont understand new scripting system, that using in Skyrim.It was no problem with Oblivion scripts, but Papirus makes me a dumb. Can sombody help me with this scheme. Equip bow - added and equipped arrowsUnequip bow - arrows unequipped and removed from inventory. Please. I really need help. Link to comment Share on other sites More sharing options...
gasti89 Posted July 16, 2012 Share Posted July 16, 2012 Let me guess something. Script on the bow: Ammo property myArrow auto int property AmmoNumber auto Event OnEquipped(Actor akActor) akActor.Additem(myArrow, AmmoNumber, true) akActor.EquipItem(myArrow, true, true) endEvent Event OnUnequipped(Actor akActor) akActor.UnequipItem(myArrow, true, true) akActor.RemoveItem(my Arrow, AmmoNumber, true) endEvent Fill the properties with the arrows you want and the number of added arrows. The Additem and RemoveItem "true" is for not displaying the "added" message. The ones on Equip and Unequip are for not diplaying the message and for preventing the player from unequipping the arrows. Hope it works! Link to comment Share on other sites More sharing options...
IncuBB Posted July 16, 2012 Author Share Posted July 16, 2012 О, спасибо огромное! Oh, i mean thank you very much!Helped a lot) Link to comment Share on other sites More sharing options...
Recommended Posts