Rei97 Posted September 3, 2019 Share Posted September 3, 2019 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 More sharing options...
Oblivionaddicted Posted September 3, 2019 Share Posted September 3, 2019 Maybe do you need MWSE. Link to comment Share on other sites More sharing options...
Rei97 Posted September 4, 2019 Author Share Posted September 4, 2019 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? Link to comment Share on other sites More sharing options...
abot Posted September 4, 2019 Share Posted September 4, 2019 ^NPCName Link to comment Share on other sites More sharing options...
Rei97 Posted September 4, 2019 Author Share Posted September 4, 2019 ^NPCNameI've tried it too, but it results %PCName Link to comment Share on other sites More sharing options...
abot Posted September 4, 2019 Share Posted September 4, 2019 (edited) oh, then it must be simply: ^Name (%Name in dialog, ^Name is for MessageBox) ^PCName for player Edited September 4, 2019 by abot Link to comment Share on other sites More sharing options...
Rei97 Posted September 5, 2019 Author Share Posted September 5, 2019 oh, then it must be simply:^Name (%Name in dialog, ^Name is for MessageBox) ^PCName for playerI also tried that, but putting it gives me the name of the player and not the npc, it's strange ... Link to comment Share on other sites More sharing options...
Recommended Posts