mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 02:17:14 -05:00
Further file organization
Further file organization
This commit is contained in:
19
nwn/nwnprc/trunk/scripts/prc_ai_fam_conv.nss
Normal file
19
nwn/nwnprc/trunk/scripts/prc_ai_fam_conv.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user