Difference between revisions of "SetScript"

Jump to navigation Jump to search
37 bytes added ,  11:42, 28 September 2008
→‎Notes: RBS works
imported>Haama
(→‎Notes: Notes)
imported>Haama
(→‎Notes: RBS works)
**For some scripts, this isn't an issue. For instance, if you set a script to an item and then use '''LocalRef.AddItem Item 1''' the script will run, because '''AddItem''' starts scripts.
**In the case of the player, however, the only method to start the script is to open the console and type in '''player.ModAV Health 0''', '''player.AddItem F 1''' or even player with the dot '''player.''' Using the functions in a script won't start the script (even '''player.con HairTint 0 0 0''')
***Haven't tried [[RunBatchScript]] works with a text file with a simple '''player.'''.
*Be aware that Oblivion doesn't reset scripts correctly when reloading a save game in the same area. For instance, if, in your save game, the player doesn't have a script, then you set a script on the player, then reload -> the script will still be on the player.
 
Anonymous user

Navigation menu