25 lines
415 B
Plaintext
25 lines
415 B
Plaintext
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
int nInt;
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Give 5 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 5);
|
||
|
|
||
|
oTarget = GetObjectByTag("Rivis1");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_SPn_Rivis")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Rivis1");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
|
||
|
oTarget = GetObjectByTag("Rivis1");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
}
|