26 lines
463 B
Plaintext
26 lines
463 B
Plaintext
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
object oTarget;
|
|
int nInt;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Give 5 experience (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
oTarget = GetObjectByTag("Wensbane");
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Wensbane")));
|
|
|
|
oTarget = GetObjectByTag("Wensbane");
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("Wensbane");
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
}
|