38 lines
752 B
Plaintext
38 lines
752 B
Plaintext
|
|
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
object oTarget;
|
|
int nInt;
|
|
object oSpawn;
|
|
location lTarget;
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Give 5 experience (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
oTarget = GetObjectByTag("greymousersas1");
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_GreySAS1")));
|
|
|
|
oTarget = GetObjectByTag("greymousersas1");
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("greymousersas1");
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
oTarget = GetWaypointByTag("WP_SPn_sas21");
|
|
lTarget = GetLocation(oTarget);
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "sas21", lTarget);
|
|
|
|
oTarget = GetObjectByTag("sas20");
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
oTarget = GetObjectByTag("graymousersas1");
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
}
|