Difference between revisions of "SetScript"

Jump to navigation Jump to search
219 bytes added ,  11:49, 28 September 2008
→‎Notes: More notes
imported>Haama
(→‎Notes: RBS works)
imported>Haama
(→‎Notes: More notes)
**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''')
***[[RunBatchScript]] works with a text file with a simple '''player.'''.
*BeAs awarewith thatall Oblivionnon-cloneform doesn't reset scripts correctlyitems, when reloadingyou reload a save game in the samescript area.ref Forwill instance,be if, inreset. your save game,If the playerobject doesndidn't have a script, then youit setwon't have a script onwhen theyou player,reload. thenIf reloadit ->had thea different script, willthen stillit bewill onhave the playerdifferent script once again.
**There is an exception - 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.
 
==See Also==
Anonymous user

Navigation menu