How do you clear the ownership on an item? "SetOwnership 0" doesn't work and leaving "Owner" blank sets it to player instead.
http://cs.elderscrolls.com/constwiki/index.php/ClearOwnership
I have a few basic ones:
Is there any decent document online that lists ALL script functions for Oblivion? I read the UESP list but it's incomplete.
http://cs.elderscrolls.com/constwiki/index.php/Category:Functions
3: What is the function that allows me to monitor the input from a keyboard button? (example: Press H to activate)
Several, they are all OBSE functions. IsKeyPressed2/3, or OnKeyDown are the ones you're most likely to use.
4: What function do I use to delete an object permanently? I'm under the impression that Disable won't delete the reference in the save file so there will end up being references to deleted objects if I just use 'Disable'.
DeleteReference, another OBSE function, but you must first Disable it, and then expect to check for a few frames that it is registered as disabled by the engine before you can call DeleteReference.
I'm trying to figure out the obse function "SetScript". I can't get it to work. The test script I've set up is a spell effect that sets a script to the currently equipped weapon.
You should really, really find another way of doing this. Doing it by setting a script on all equipped weapons is a safe way to ensure that you break any mod (or vanilla) weapon that is scripted. Instead, try to do what you need from a general quest script without modifying the weapon.