Lankhmar_PRC8/_module/nss/genera_walk_away.nss

18 lines
465 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oSelf = OBJECT_SELF;
// Get the PC who is in this conversation.
object oPC = GetLastDamager();
// Have us say something.
SpeakString("You have made an enemy of the south barracks soldiers this day!");
// Have us perform a sequence of actions.
DelayCommand(2.0, ActionMoveAwayFromObject(oPC));
// Destroy an object (not fully effective until this script ends).
DelayCommand(3.5, DestroyObject(oSelf));
}