25 lines
483 B
Plaintext
25 lines
483 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
int nInt;
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
oTarget = GetObjectByTag("Fell");
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Fell")));
|
|
|
|
oTarget = GetObjectByTag("Fell");
|
|
nInt = GetObjectType(oTarget);
|
|
oTarget = GetObjectByTag("Fell");
|
|
DestroyObject(oTarget, 5.0);
|
|
|
|
oTarget = GetWaypointByTag("WP_Spn_Fell2");
|
|
lTarget = GetLocation(oTarget);
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "fell2", lTarget);
|
|
|
|
}
|