Difference between revisions of "Generic Unequip"
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'''. | * 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. |