43 lines
730 B
Plaintext
43 lines
730 B
Plaintext
|
|
void main()
|
|
|
|
{
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "themapofilthm")== OBJECT_INVALID)
|
|
return;
|
|
|
|
AssignCommand(oPC,ClearAllActions());
|
|
|
|
oTarget = GetWaypointByTag("WP_SPn_Cald");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "caldthello", lTarget);
|
|
|
|
oTarget = oSpawn;
|
|
|
|
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
|
|
|
oTarget = GetWaypointByTag("WP_SPn_Cald");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "lankhmarguard2", lTarget);
|
|
|
|
oTarget = oSpawn;
|
|
|
|
//AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
|
|
|
DestroyObject(OBJECT_SELF);
|
|
|
|
}
|
|
|