TheBladeOfLight Posted August 13, 2024 Posted August 13, 2024 Asking here because google keeps giving me methods to force companions to wear stuff they wouldn't normally equip. How does NV enforce item locks like Elijahs bomb collar or the explosive collar from the Brotherhood? Looking at it in xedit, I can't see anything special about the item record, and I haven't been able to find a script that forces them to be equipped either. Thanks in advance for any help!
Neutron_rus Posted August 13, 2024 Posted August 13, 2024 actor.equipitem ObjectID NoUnequipFlag{0, 1} HideMessageFlag(0, 1) For example this is how vanilla game gives out explosive collar in Hidden Valley when you accept quest to deal with ranger (with my comments) player.additem HVExplosiveCollar 1 1 ;Adds 1 item to player, will suppress message pop up player.equipitem HVExplosiveCollar 1 1 ;Equips item on player, can't unequip through regular means, message is suppressed (NoUnequipFlag and HideMessageFlag is set to 1) To unequip this item actor.unequipitem ObjectID NoEquipFlag{0, 1} HideMessageFlag{0, 1} Same example, but after quest is done player.unequipitem HVExplosiveCollar 1 1 ; Unequips item from player, won't allow to equip this item again unless used equip item command to reset the state, message is suppressed (NoEquipFlag and HideMessageFlag is set to 1) player.removeItem HVExplosiveCollar 1 0 ; Removes 1 item from player, message is not suppressed Links, if need better description how this commands work https://geckwiki.com/index.php?title=EquipItem https://geckwiki.com/index.php?title=UnequipItem https://geckwiki.com/index.php?title=AddItem https://geckwiki.com/index.php?title=RemoveItem 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now