26 lines
402 B
Plaintext
26 lines
402 B
Plaintext
|
|
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
object oSelf = OBJECT_SELF;
|
|
object oTarget;
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
// Give 5 experience (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
oTarget = GetObjectByTag("BloodyTracks");
|
|
DestroyObject(oTarget, 0.1);
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DelayCommand(0.5, DestroyObject(oSelf));
|
|
|
|
}
|
|
|