Jump to content

Recommended Posts

Posted
I am doing script and I need to get the name of the npc in my message, searching on google I found that to get the name of an npc I need to use "^NPC.Name", it happens that using it does not show the message just results in "% PC"


This is what I put



begin MyScript


messagebox, "Hello my name is ^NPC.Name nice to meet you"


StopScript MyScript


end




and this is the result in the game


%PC




One more thing, I am doing that in Morrowind Goty Edition, with TESConstructionSet, in a Script not in the result of a dialogue, I would greatly appreciate the help as I searched and found no solution, or if they might know another method of obtaining the name of an npc. :'3

Posted
  On 9/3/2019 at 8:39 PM, Oblivionaddicted said:

Maybe do you need MWSE.

Yes, in fact I already have it together with MGE XE but apparently that is not the problem, do you know of any other method of obtaining the name of the npc for messagebox?

Posted (edited)

oh, then it must be simply:

^Name

 

(%Name in dialog, ^Name is for MessageBox)

 

^PCName for player

Edited by abot
Posted
  On 9/4/2019 at 11:48 AM, abot said:

oh, then it must be simply:

^Name

 

(%Name in dialog, ^Name is for MessageBox)

 

^PCName for player

I also tried that, but putting it gives me the name of the player and not the npc, it's strange ...

  • Recently Browsing   0 members

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