Scriptname DesequiparArco extends Actor{Accion al desequipar el arco}import gameimport utilityObjectReference Property ORBow Auto HiddenWeapon CurrentWeaponweapon WBowint PlayersEquippedWeaponTypeactor Property player autoEvent OnObjectEquipped(Form akBaseObject, ObjectReference akReference)if akBaseObject as Weapon player = Game.GetPlayer() PlayersEquippedWeaponType = player.GetEquippedItemType(1) CurrentWeapon = player.GetEquippedWeapon() if (PlayersEquippedWeaponType == 7) Debug.MessageBox("using a bow") WBow = CurrentWeapon else if (WBow == None) Debug.MessageBox("no bow saved") else ORBow = Game.GetPlayer().PlaceAtMe(WBow, 1, true) ORBow.MoveToNode(Game.GetPlayer(), "WeaponBow") Debug.MessageBox("showing bow") endif endifendIfendEventwhat it does is stored in a variable the last bow equipped, then when you equip another weapon, the saved bow moves to the respective node, the problem is that falls without attach to the player, this is where I get stuck, I don't know how to link the bow to the player's node, i hope this helps...and I will appreciate if someone finds what it takes to complete the script...
