Jump to content

Help! "^NPC.Name" in "messagebox" does not work!


Rei97

Recommended Posts

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

Link to comment
Share on other sites

oh, then it must be simply:

^Name

 

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

 

^PCName for player

Edited by abot
Link to comment
Share on other sites

  • Recently Browsing   0 members

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