Page 1 of 1

What sets the NPC "met" flag?

Posted: Thu Mar 13, 2003 7:45 am
by Karlos
What causes the "met" flag for NPCs to get set? It seems to happen automatically after I taled to anyone when I did some testing with the island patch, but it never gets set when I converse with the NPC created for my new game.

Any ideas what may be amiss here?


-Karl

Re: What sets the NPC "met" flag?

Posted: Thu Mar 13, 2003 8:47 am
by drcode
I don't have the island patch in front of me, but perhaps we explictly called the usecode function (UI_set_item_flag, I think).

Another possibility: In SI, the Usecode functions do set this flag explicitly. Perhaps Exult sets it automatically in BG (which is where the island patch is running). If that's the case, maybe we should also set it automatically in new games.

Re: What sets the NPC "met" flag?

Posted: Thu Mar 13, 2003 8:54 am
by Karlos
The island patch only checks for that flag (for Amy, at least), but doesn't set it. I'll set it manually for now.


-Karl

Re: What sets the NPC "met" flag?

Posted: Thu Mar 13, 2003 10:04 am
by wjp
In Black Gate the met flag is set when an NPCs face is shown on-screen.

In SI it's set explicitly by usecode.

Re: What sets the NPC "met" flag?

Posted: Thu Mar 13, 2003 12:18 pm
by Dominus
AFAIK all the NPCs I put into the patch have that flag set from the beginning so the name is shown when you click on the NPC. Something else I wanted to change before releasing a new version of the patch.