TheWanderer001 Posted May 28, 2021 Share Posted May 28, 2021 I have this working with AddItem() and EquipItem() with it not being able to be unequipt by the player but... Does anyone know if it is possible to force equip an item of clothing/armour without it ever showing up in the players inventory? Link to comment Share on other sites More sharing options...
maxarturo Posted May 28, 2021 Share Posted May 28, 2021 (edited) To add an item to the player without been seen in its inventory, you only have to remove the name of the item, have it blank (the name not its ID). To keep an item equipped, you either: - Use "DisablePlayerControls( bool abMenu = true )" - Have the flag on the "EquipItem()" > "bool abPreventRemoval = TRUE" * Another alternative, but this needs to have the player on an alias. - Run on the player's alias a simple script. Example: Armor Property MySecretArmor Auto Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference) If ( Player.IsEquipped(MySecretArmor) ) RETURN ElseIf ( (akBaseObject as Armor) != MySecretArmor ) Player.EquipItem(MySecretArmor, True, True) EndIf Endevent Have a nice weekend Edited May 28, 2021 by maxarturo Link to comment Share on other sites More sharing options...
dylbill Posted May 28, 2021 Share Posted May 28, 2021 If it's a custom item of clothing, just untick the Playable box in the Creation Kit. You can still equip it with script, but it won't show up in the inventory. Link to comment Share on other sites More sharing options...
TheWanderer001 Posted May 28, 2021 Author Share Posted May 28, 2021 Thanks both it seems both ways work :thumbsup: Things are simple when you know how :laugh: Link to comment Share on other sites More sharing options...
dylbill Posted May 28, 2021 Share Posted May 28, 2021 No problem :) it's also good to know the blank name works too. Link to comment Share on other sites More sharing options...
maxarturo Posted May 28, 2021 Share Posted May 28, 2021 Unticking the "Playable" is the correct way to go, but... There is a game glitch that can happen and if the item has a name it can still appear in the inventory, it rarely happens but it does. An example of this is with the unused by the game "Spriggan Shield", it was not developed but it is in game, over the years a lot of players have found a 'Spriggan Shield', it does not have a mesh and it's just a node but the item has a name "Spriggan Shield" and it's not playable, but it still shows up in game in rear circumstances. It has happened to me 4-5 times over the years with items not playable. The weirdness of this game... Link to comment Share on other sites More sharing options...
TheWanderer001 Posted May 29, 2021 Author Share Posted May 29, 2021 Ah... good to know :geek: I had removed the name as you suggested and had tested that...then the advice to uncheck the 'Playable'so my items has both no name and not playable... so I guess I'm covered :thumbsup: I have to say I'm feeling a little left out now... I've never even heard of let alone found a 'Spriggan Shield' :blush: Link to comment Share on other sites More sharing options...
Recommended Posts