GrayFace / MMExtension

Modding environment for Might and Magic 6 - 8
43 stars 6 forks source link

Setting a hireling name in MM6 does not stick. #6

Closed RobertZenz closed 1 year ago

RobertZenz commented 2 years ago

I wanted to restore my hirelings after doing the temple quest in MM6 and came up with a simple script to do that. However, setting the name of the hireling does not stick.

Steps to reproduce (MM6 with MMExt 2.2):

  1. Hire a hireling, any will do.
  2. Change the name with Party.HiredNPC[1].Name = "Test".
  3. The new name is being displayed correctly.
  4. Save the game.
  5. Load that save.
  6. The name of the hireling has reverted to the original one.

The save file itself does also only contain the original name of the hireling.

Did I miss something on how I need to set the name of a hireling?

GrayFace commented 1 year ago

Now you can do it with Party.HiredNPCName[1] = "Test"

RobertZenz commented 1 year ago

Thank you.