Get Actor Name and Race?

Post » Wed Sep 25, 2013 10:17 pm

Are there console codes or scripts that can display an NPC's Name and Race?

And Class?

Cheers!

User avatar
Rudy Paint fingers
 
Posts: 3416
Joined: Sun Nov 11, 2007 1:52 am

Post » Wed Sep 25, 2013 8:54 pm

I can think of a crap way using conditions for the race. But there's an SKSE function: http://www.creationkit.com/GetName_-_Form for the name. Combined with debug.notification or message box should get it to display. I've never used an SKSE function but I don't think it compiles in the CK but if you save it and make sure it's all correct, it should work.

User avatar
Alister Scott
 
Posts: 3441
Joined: Sun Jul 29, 2007 2:56 am

Post » Wed Sep 25, 2013 10:02 am

(actor.getactorbase() as form).getname()

(actor.getrace() as form).getname()

User avatar
N3T4
 
Posts: 3428
Joined: Wed Aug 08, 2007 8:36 pm


Return to V - Skyrim