17 lines
544 B
Plaintext
17 lines
544 B
Plaintext
void main()
|
|
{
|
|
// Get the creature who triggered this event.
|
|
object oPC = GetEnteringObject();
|
|
|
|
// Only fire for (real) PCs.
|
|
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
|
|
return;
|
|
|
|
// Have "LakhmarMilitia351651" say something.
|
|
AssignCommand(GetObjectByTag("LakhmarMilitia351651"), SpeakString("Who is this, Leaving Lankhmar at this hour?"));
|
|
|
|
// Have "LankhmarGuard13548" say something.
|
|
DelayCommand(2.0, AssignCommand(GetObjectByTag("LankhmarGuard13548"), SpeakString("Shut up and let me sleep.")));
|
|
}
|
|
|