jastey Posted January 7, 2012 Posted January 7, 2012 How would I check in vanilla BG1 who is talking? IsGabber() doesn't exist.
devSin Posted January 7, 2012 Posted January 7, 2012 Depends what you want to do? Some combination of Name() or InPartySlot() with LastTalkedToBy, if any of that is in BG, is as close as you can get, from the tiny bit I can remember.
jastey Posted January 8, 2012 Author Posted January 8, 2012 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?
devSin Posted January 9, 2012 Posted January 9, 2012 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.