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

22 lines
619 B
Plaintext

void main()
{
object oActor;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oSelf = OBJECT_SELF;
// Have "Ulat" perform a sequence of actions.
oActor = GetObjectByTag("Ulat");
AssignCommand(oActor, ActionMoveToObject(GetNearestObjectByTag("WP_Ulat1x")));
// Destroy an object (not fully effective until this script ends).
DelayCommand(4.0, DestroyObject(GetObjectByTag("Ulat")));
// Get the PC who is in this conversation.
// Destroy an object (not fully effective until this script ends).
DelayCommand(5.0, DestroyObject(oSelf));
}