Get the PC's Name?

Post » Sat Feb 19, 2011 7:36 am

I know this is possible, as I remember seeing a demonstration where a MessageBox would say something like "Hello PlayerID!!". But for the life of me, I cannot find the command. Does anyone know which one it is? Thanks :)
User avatar
Daniel Lozano
 
Posts: 3452
Joined: Fri Aug 24, 2007 7:42 am

Post » Fri Feb 18, 2011 7:40 pm

Player.http://cs.elderscrolls.com/constwiki/index.php/GetName ? (OBSE)
User avatar
Mark
 
Posts: 3341
Joined: Wed May 23, 2007 11:59 am

Post » Fri Feb 18, 2011 7:34 pm

That's what I thought, but the CS tells me it's acceptable... ? :shrug:
User avatar
Nauty
 
Posts: 3410
Joined: Wed Jan 24, 2007 6:58 pm

Post » Sat Feb 19, 2011 4:40 am

Actually, PlayerRef.GetName is safer.
User avatar
Chris BEvan
 
Posts: 3359
Joined: Mon Jul 02, 2007 4:40 pm

Post » Fri Feb 18, 2011 7:23 pm

Well, after a bit of messing about, I've got "GetName" working -- apparently just the CS being weird with me :( Merci :D :D
User avatar
Nicole M
 
Posts: 3501
Joined: Thu Jun 15, 2006 6:31 am

Post » Fri Feb 18, 2011 10:26 pm

I discovered by accident that $playerRef also returns the name.

edit:
that's OBSE also btw.
User avatar
Kay O'Hara
 
Posts: 3366
Joined: Sun Jan 14, 2007 8:04 pm


Return to IV - Oblivion