Difference between revisions of "SetLevel"

76 bytes removed ,  13:16, 13 July 2010
m
imported>Talkie Toaster
imported>Talkie Toaster
 
Line 6: Line 6:


===Notes===
===Notes===
Calling SetLevel on an actor other than the player will cause that actor's inventory to be regenerated. Any existing items will be removed and a fresh inventory will be generated, re-evaluating any leveled lists that may make up the actor inventory. You can witness this in action by finding a random raider and calling setlevel on them via the console. They will usually end up wearing a different piece of armor, because their inventory was repopulated. This repopulation effect takes effect even if the SetLevel command did not change the actor's level.
Calling SetLevel on an actor other than the player will cause that actor's inventory to be regenerated, re-evaluating any leveled lists that may make up the actor inventory. You can witness this in action by finding a random raider and calling setlevel on them via the console. They will usually end up wearing a different piece of armor, because their inventory was repopulated. This repopulation effect takes effect even if the SetLevel command did not change the actor's level.


[[Category: Functions]]
[[Category: Functions]]