49 lines
1002 B
Plaintext
49 lines
1002 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("wp_insight_01");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "insightmonk", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_insight_02");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "insightmonk", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_insight_03");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "insightmonk", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_insight_04");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "insightmonk", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_insight_05");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "insight2", lTarget);
|
|
|
|
oTarget = GetObjectByTag("INSIGHTMONK");
|
|
|
|
AssignCommand(oTarget, ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE, 1.0f, 0.0f));
|
|
|
|
}
|
|
|
|
|