RoT2_PRC8/_module/nss/cb_vis_monk.nss

49 lines
1002 B
Plaintext
Raw Permalink Normal View History

2023-09-25 18:13:22 -04:00
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));
}