mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-16 17:17:16 -05:00
19 lines
422 B
Plaintext
19 lines
422 B
Plaintext
#include "prc_inc_assoc"
|
|
|
|
void main()
|
|
{
|
|
object oComp = OBJECT_SELF;
|
|
|
|
if(GetLastSpeaker() == GetMasterNPC(oComp)
|
|
&& GetStringLeft(GetResRef(oComp), 11) != "prc_pnpfam_")
|
|
{
|
|
if(GetListenPatternNumber() == ASSOCIATE_COMMAND_LEAVEPARTY)
|
|
{
|
|
DestroyAssociate(oComp);
|
|
return;
|
|
}
|
|
}
|
|
|
|
ExecuteScript("nw_ch_ac4", oComp);
|
|
ExecuteScript("prc_npc_conv", oComp);
|
|
} |