Difference between revisions of "OBSE Wish List"

743 bytes removed ,  10:07, 18 March 2010
remove equipitem2
imported>Angel
(add TrainSkill ResurrectActorHealthPercent, and RunScript)
imported>Scruggs
(remove equipitem2)
Line 26: Line 26:
*'''DeleteClonedForm''' - Delete the reference and base object of a cloned form like DeleteFullActorCopy
*'''DeleteClonedForm''' - Delete the reference and base object of a cloned form like DeleteFullActorCopy
*'''SetObjectAlpha''' - Just like SetActorAlpha except works on any object, not just actors.
*'''SetObjectAlpha''' - Just like SetActorAlpha except works on any object, not just actors.
*'''EquipItem2''' - Just like EquipItem except runs the item's OnEquip block.
**If it's your own item, you can use an onUnEquip block for this one. Unequipping an item, and then requipping it in the next line, will still run the item's onUnEquip block. Since the onUnEquip block will run after the calling script (the one that did the UnEquipItem and EquipItem), you can use a [[GetEquipped]] check, in the onUnEquip block, to make sure the item is equipped.
**Using OnUnequip blocks is a good idea. However, if it's not allowed to modify the script on the item I want to equip, I cannot use OnUnequip blocks. I think it'd be a great help for some mods like scruggs' "Expanded Hotkeys and Spell Delete".--Isatin 16:30, 12 November 2007 (EST)
*'''DuplicateAllItems2''' - Same as DuplicateAllItems, but doesn't create a new ID/cloneformed item for each scripted item that's duplicated
*'''DuplicateAllItems2''' - Same as DuplicateAllItems, but doesn't create a new ID/cloneformed item for each scripted item that's duplicated
*'''EnablePlayerControls2/DisablePlayerControls2''' - Acts like the original functions but without hiding UI.
*'''EnablePlayerControls2/DisablePlayerControls2''' - Acts like the original functions but without hiding UI.
Anonymous user