22 lines
524 B
Plaintext
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")));
|
|
}
|