Talk:SetLevel

Revision as of 01:57, 31 August 2007 by imported>BlackBaron1024

I removed this from the article:

IMPORTANT: This function can cause crashes and is not considered safe ! It's just a matter of time or number of uses (prabability based) until it produces a crash. The best way to crash is to use it on an actor that is equipped with a bow. The other way is to use it very frequently.

Can anyone verify this? I've never heard of any problems with SetLevel, and no note was given about this, so I'd like to actually hear about when and where people have seen problems with this. Thanks.
Dragoon Wraith TALK 10:57, 6 August 2007 (EDT)

If anyone wants to test it, don't forget to use it on actors with equipped bows (city guards with bows are fine). Just open console click on the actor and type setlevel 10 for example (you should now see the bow disappear), then close the console (You should now experience a CTD). Try a few times. - Scanner

I can confirm this. I tried to SetLevel Imperial Guards (with Bow equipped) and the game crashed everytime I pressed 'Enter'. - Rung

My game crashes after using this command on the player in the console and reload (for mod testing purposes). Can anyone verify this? Thanks.
--BlackBaron1024 17:37, 30 August 2007 (EDT)
From the article:

NOTE: This function can be called on the player and will change the player's level, but not any of his stats (and the world will not "level up" with the player until he goes through a loading door, or changes cells), so this is not recommended. Use AdvancePCLevel instead.

Dragoon Wraith TALK 02:11, 31 August 2007 (EDT)


Yes, yes, I know, I did read the article, specially before posting. I was using player.setlevel for testing purposes (I have a script whose effects change with the player's level) and whenever I loaded a saved game after using setlevel, the game crashed. The same happen whitout my mod loaded (it could still be caused by another mod). I'm just reporting it to see if this has happened to anyone else and as an extra proof the command is unsafe and not recommended.
--BlackBaron1024 02:57, 31 August 2007 (EDT)
Return to "SetLevel" page.