58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
|
|
||
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
int nInt;
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Give 10 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 10);
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Gol")));
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("GOL");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL2");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Gol")));
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL2");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("GOL2");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL3");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Gol")));
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL3");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("GOL3");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL4");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Gol")));
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL4");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("GOL4");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL5");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Gol")));
|
||
|
|
||
|
oTarget = GetObjectByTag("GOL5");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("GOL5");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
}
|