Initial commit
Initial commit [v9.7]
This commit is contained in:
21
_module/nss/walk_away_ulat1.nss
Normal file
21
_module/nss/walk_away_ulat1.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#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")));
|
||||
}
|
||||
Reference in New Issue
Block a user