RoT2_PRC8/_module/nss/council_on_enter.nss

11 lines
287 B
Plaintext
Raw Normal View History

2023-09-25 18:13:22 -04:00
void main()
{
object oPC = GetEnteringObject();
object oNPC = GetObjectByTag("councilgold");
if ( GetIsPC(oPC) && !GetLocalInt(oPC,"council") )
{
SetLocalInt(oPC,"council",TRUE);
DelayCommand(2.0,AssignCommand(oNPC,ActionStartConversation(oPC)));
}
}