Aantioch_Infernum/_module/nss/escort_home.nss

20 lines
331 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
void main()
{
object oPC = GetEnteringObject();
object oMan = GetNearestObjectByTag("lostoldman");
object oArea1 = GetArea(oMan);
object oArea2 = GetArea(oPC);
if (!GetIsPC(oPC))return;
if(oArea1 == oArea2)
{
SetLocalInt(oPC, "escort", 5);
}
else
{
SendMessageToPC(oPC,"wheres the old man?");
}
}