SylvanTiw Posted February 10, 2012 Share Posted February 10, 2012 (edited) Is there a way to find out what an actor has equipped, like the GetEquippedShield function, only for armor or boots? I can only find function for weapon or shield on the creation kit wiki, which is not encouraging... edit: I'm trying to write a script that removes all items(easy part) then adds back the items the player had equipped(hard part) Edited February 11, 2012 by SylvanTiw Link to comment Share on other sites More sharing options...
Ocyris Posted February 11, 2012 Share Posted February 11, 2012 There's the worn keyword count but you probably need something more specific or there's an OnEquipped event that could be used in a script attached to an item. The console has a showinventory command which would be useful if you could parse it but I don't think it's supported in Papyrus. Can you provide some more information on what you're trying to do? Link to comment Share on other sites More sharing options...
skizophrenic Posted February 11, 2012 Share Posted February 11, 2012 (edited) There's Game.Player().GetItemCount(itemname) operator number like: If Game.GetPlayer().GetItemCount(IronDagger) >= 1 effect EndIf Edit: I may have misunderstood you if you were asking for a function that returned which peices of armor the actor is wearing, in that case idk.Edit 2: There's also the IsEquipped function. Edited February 11, 2012 by skizophrenic Link to comment Share on other sites More sharing options...
SylvanTiw Posted February 11, 2012 Author Share Posted February 11, 2012 (edited) I'm trying to write a script that removes all items(easy part) then adds back the items the player had equipped(hard part) edit: Alliteratively, it could remove everything except what the player has equipped, but I don't know how to do that ether. Edited February 11, 2012 by SylvanTiw Link to comment Share on other sites More sharing options...
skizophrenic Posted February 11, 2012 Share Posted February 11, 2012 Searched high and low and all I found is removeallitems: http://www.creationkit.com/RemoveAllItems_-_ObjectReference It's rather extreme, but you could un-equip and remove everything to a remote container and either return it later or have the player retrieve it. Link to comment Share on other sites More sharing options...
Recommended Posts