24 lines
576 B
Plaintext
24 lines
576 B
Plaintext
|
|
void main()
|
|
|
|
{
|
|
object oActor;
|
|
|
|
// Get the creature who triggered this event.
|
|
object oPC = GetEnteringObject();
|
|
|
|
// Only fire for (real) PCs.
|
|
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
|
|
return;
|
|
|
|
// Have "Alyx2" perform a sequence of actions.
|
|
oActor = GetObjectByTag("Alyx2");
|
|
DelayCommand(0.5, AssignCommand(oActor, ActionJumpToObject(oPC)));
|
|
|
|
// Have "Alyx2" strike up a conversation with the PC.
|
|
oActor = GetNearestObjectByTag("Alyx2", oPC);
|
|
DelayCommand(1.0, AssignCommand(oActor, ActionStartConversation(oPC)));
|
|
|
|
}
|
|
|