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

22 lines
524 B
Plaintext

#include "x0_i0_partywide"
void main()
{
object oActor;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Give 5 experience (to party) to the PC.
GiveXPToAll(oPC, 5);
// 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(3.0, DestroyObject(GetObjectByTag("Ulat")));
}