Difference between revisions of "Generic Unequip"

54 bytes added ,  10:19, 24 August 2010
no edit summary
imported>Wrye
(New page: Category: Useful Code ===Problem: Prevent PC from equipping a generic type of item.=== E.g. prevent male pc from equipping female clothes or vice versa. Or prevent pc from equipping f...)
 
imported>Iceyeyes
 
Line 4: Line 4:


===Solution Ideas===
===Solution Ideas===
* Use '''unequipMe'''. Unfortunately, there's no such command.
* Use '''[[unequipMe]]'''. This is an Oblivion Script Extender Function. (The function was added to the OBSE v0019.)
* Use [[getBaseObject]]. But that requires OBSE.  
* Use [[getBaseObject]]. But that requires OBSE.  
* "[[RemoveMe]] player" comes close to working, but suffers from an infinite loop.  
* "[[RemoveMe]] player" comes close to working, but suffers from an infinite loop.  
Anonymous user