How do you get SetName to change the player's name?

Post » Sun Aug 24, 2014 9:20 am

How could you change the name of the player's character without using the race menu?

I tried :

Game.GetPlayer().GetBaseObject().SetName("Sam")

and saw that it can't be used on actors or object references - only form

http://www.creationkit.com/SetName_-_Form

How is this done?

User avatar
Stacey Mason
 
Posts: 3350
Joined: Wed Nov 08, 2006 6:18 am

Post » Sun Aug 24, 2014 6:47 am

The code you've posted is exactly what's renaming the player to Sam. Actor Base is a Form. So, as long as you get the base actor or object, you can rename everything that has a name tag inside their properties. That'd be actors, activators, items, floras etc. etc. etc.

User avatar
Carlos Vazquez
 
Posts: 3407
Joined: Sat Aug 25, 2007 10:19 am


Return to V - Skyrim