24 lines
497 B
Plaintext
24 lines
497 B
Plaintext
|
#include "x0_i0_partywide"
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oActor;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Give 100 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 100);
|
||
|
|
||
|
// Have "Behemoth" perform a sequence of actions.
|
||
|
oActor = GetObjectByTag("Behemoth");
|
||
|
AssignCommand(oActor, ActionMoveAwayFromObject(oPC));
|
||
|
|
||
|
// Destroy an object (not fully effective until this script ends).
|
||
|
DelayCommand(3.8, DestroyObject(oActor));
|
||
|
|
||
|
|
||
|
}
|
||
|
|