Jump to content

how to identify npc's voice type


injaku

Recommended Posts

There is a console command GetIsVoiceType, but this just checks if the selected NPC has the passed in voice type, which isn't very useful. So, I added the console command GetVoiceType to my mod Console Tweaks which you can find here: https://www.nexusmods.com/skyrimspecialedition/mods/69244

 

It displays the selected NPC's voice type, form ID and the mod it comes from.

Link to comment
Share on other sites

  • 3 weeks later...

Thank you.

 

I have all the required files installed. I don't have the optional no.esp (which isn't compatible with the latest version of Skyrim.)

- ConsoleUtilsSSE NG 1.4.0

- DdMiscFunction 4.7

- all in one 8

- PapyrusUtil AE SE 4.4

- skyui 5.2

 

But the code is unhappy :sad: . I previously installed https://www.nexusmods.com/skyrimspecialedition/mods/19250.

I have removed it, but could it be the cause?

[07/12/2023 - 11:29:49PM] Error: Cannot call GetRace() on a None object, aborting function call
stack:
	<unknown self>.dbmiscfunctions.IsActorNPC() - "DbMiscFunctions.psc" Line 1311
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1298
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] Error: Cannot call HasKeyword() on a None object, aborting function call
stack:
	<unknown self>.dbmiscfunctions.IsActorNPC() - "DbMiscFunctions.psc" Line 1312
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1298
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] warning: Assigning None to a non-object variable named "::temp178"
stack:
	<unknown self>.dbmiscfunctions.IsActorNPC() - "DbMiscFunctions.psc" Line 1312
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1298
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] Error: Cannot call GetRace() on a None object, aborting function call
stack:
	<unknown self>.dbmiscfunctions.IsActorNPC() - "DbMiscFunctions.psc" Line 1311
	<unknown self>.dbmiscfunctions.GetActorSoulSize() - "DbMiscFunctions.psc" Line 1273
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1303
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] Error: Cannot call HasKeyword() on a None object, aborting function call
stack:
	<unknown self>.dbmiscfunctions.IsActorNPC() - "DbMiscFunctions.psc" Line 1312
	<unknown self>.dbmiscfunctions.GetActorSoulSize() - "DbMiscFunctions.psc" Line 1273
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1303
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] warning: Assigning None to a non-object variable named "::temp178"
stack:
	<unknown self>.dbmiscfunctions.IsActorNPC() - "DbMiscFunctions.psc" Line 1312
	<unknown self>.dbmiscfunctions.GetActorSoulSize() - "DbMiscFunctions.psc" Line 1273
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1303
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] Error: Cannot call GetLevel() on a None object, aborting function call
stack:
	<unknown self>.dbmiscfunctions.GetActorSoulSize() - "DbMiscFunctions.psc" Line 1277
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1303
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195
[07/12/2023 - 11:29:49PM] warning: Assigning None to a non-object variable named "::temp168"
stack:
	<unknown self>.dbmiscfunctions.GetActorSoulSize() - "DbMiscFunctions.psc" Line 1277
	<unknown self>.dbmiscfunctions.GetActorSoulSizeString() - "DbMiscFunctions.psc" Line 1303
	[ (FF0014E7)].consoletweakslistener.ExecuteConsoleTweaksCommand() - "ConsoleTweaksListener.psc" Line 293
	[ (FF0014E7)].consoletweakslistener.OnConsoleTweaks_ConsoleCommandExecuted() - "ConsoleTweaksListener.psc" Line 195

Edited by injaku
Link to comment
Share on other sites

More informative console is a .dll plugin, nothing to do with papyrus. And I suggest keeping it, it is exceedingly helpful.

 

When trying to examine the actor, did you actually click that actor while in console?

 

As to your script dump: 'FF' formIDs are reserved for 'spawned' object instances. And apparently that script has Form FF0014E7 as a target. And whatever the heck it is, that form is not an Actor, but code is passing it to a function (GetActorSoulSizeString) that expects an Actor argument.

Link to comment
Share on other sites

I didn't "click" on the model. Thank you.

 

While console is .dll, console tweaks uses Papyrus scripts which you run through the console. The null values reflected the fact that I hadn't "clicked" on the actor.

 

 

Thanks again, for the solution.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...