Jump to content

IsGabber() for BG1?


jastey

Recommended Posts

devSin, my saviour, as always! I want to make sure certain dialogue options are only available for Player1, and if it's not Player1 the character is talking to, maybe different reactions for different NPCs. What possibilities do I have for Name(), does something like Name(myself,<CHARNAME>) exist? Would Player1 always be in InPartySlot(#1) (whatever the correct syntax would be), or is this for the one the player puts in the first slot by hand?

Link to comment

I think InPartySlot(LastTalkedToBy,0) returns true only for Player1 (I think it's party order, not portrait order). It's what BioWare always did when they wanted something only for the protagonist; it's about as close as you should bother trying to get.

 

Name() accepts only a script name, so it's useless for the protagonist.

 

I have no memory of whether either even exist for BG/TotSC, however. I can't remember any place they would have been used in it, so they very well may not.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...