Lankhmar_PRC8/_module/nss/approach_bera.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

23 lines
402 B
Plaintext

void main()
{
object oTarget;
object oActor;
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
// Have "Bera" perform a sequence of actions.
oActor = GetObjectByTag("Bera");
AssignCommand(oActor, ActionJumpToObject(oPC));
oTarget = GetObjectByTag("Bera");
DelayCommand(1.5, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
DelayCommand(2.1, DestroyObject(OBJECT_SELF));
}