20 lines
331 B
Plaintext
20 lines
331 B
Plaintext
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?");
|
|
}
|
|
}
|