Jump to content


Selected party member trigger


  • Please log in to reply
3 replies to this topic

#1 -wolpak-

-wolpak-
  • Guest

Posted 19 March 2014 - 06:00 PM

Is there any trigger for a script that checks selected party member.  Meaning, I only want the script to trigger if he is selected.  If I select a different party member, their script is triggered.



#2 Yovaneth

Yovaneth

    The newly-appointed Master Builder of Baldur's Gate

  • Modder
  • 3060 posts

Posted 20 March 2014 - 01:14 AM

No. The closest is IsGabber(<playerno>) but that only triggers in a dialogue.

 

-Y-



#3 Kulyok

Kulyok
  • Modder
  • 2450 posts

Posted 20 March 2014 - 01:39 AM

I'm not sure, but it sounds very much like "Select Kelsey and press K" thingy that only works if Kelsey is selected. To make it happen, you add a short script to Kelsey's script file.

Maybe it's worth it to just add short scripts to all possible party members, Jaheira, Coran, etc? Would require lots of hassle, though, if it's not one specific NPC.



#4 -wolpak-

-wolpak-
  • Guest

Posted 20 March 2014 - 04:52 AM

Basically I have tokens that are displayed on the record screen, but right now, they don't make sense since they are displaying ALL players tokens and not just the highlighted player.

 

It's possible editing the tokentext.2da file, but that only runs on startup, thus, if the variable changes, I have to log out and log back in to see it.