132 lines
6.6 KiB
Plaintext
132 lines
6.6 KiB
Plaintext
#include "nw_i0_generic"
|
|
#include "nw_i0_2q4luskan"
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("wp_cain_01");
|
|
|
|
int nInt;
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), oTarget));
|
|
else DelayCommand(1.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_02");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(2.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), oTarget));
|
|
else DelayCommand(2.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_03");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(3.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), oTarget));
|
|
else DelayCommand(3.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_04");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(4.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), oTarget));
|
|
else DelayCommand(4.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_05");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(5.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), oTarget));
|
|
else DelayCommand(5.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_01");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(6.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON), oTarget));
|
|
else DelayCommand(6.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_01");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(7.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), oTarget));
|
|
else DelayCommand(7.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_02");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(8.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), oTarget));
|
|
else DelayCommand(8.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_03");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(8.5,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), oTarget));
|
|
else DelayCommand(8.5,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_07");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(9.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), oTarget));
|
|
else DelayCommand(9.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), GetLocation(oTarget)));
|
|
|
|
|
|
oTarget = GetObjectByTag("wp_cain_06");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(9.5,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), oTarget));
|
|
else DelayCommand(9.5,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_INFERNO), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_01");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(11.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON), oTarget));
|
|
else DelayCommand(11.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_08");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(12.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), oTarget));
|
|
else DelayCommand(12.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), GetLocation(oTarget)));
|
|
|
|
|
|
oTarget = GetObjectByTag("wp_cain_09");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(13.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), oTarget));
|
|
else DelayCommand(13.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_10");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(14.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), oTarget));
|
|
else DelayCommand(14.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_cain_1");
|
|
nInt = GetObjectType(oTarget);
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(15.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), oTarget));
|
|
else DelayCommand(15.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON), GetLocation(oTarget)));
|
|
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("wp_cain_09");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
DelayCommand(16.5, CreateObjectVoid(OBJECT_TYPE_CREATURE, "seth", lTarget));
|
|
|
|
effect eEffect;
|
|
eEffect = EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION);
|
|
|
|
DelayCommand(16.5, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, lTarget));
|
|
|
|
oTarget = GetWaypointByTag("wp_cain_08");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
DelayCommand(18.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ironclaw", lTarget));
|
|
|
|
eEffect = EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION);
|
|
|
|
DelayCommand(18.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, lTarget));
|
|
|
|
|
|
oTarget = GetWaypointByTag("wp_cain_10");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
DelayCommand(19.5, CreateObjectVoid(OBJECT_TYPE_CREATURE, "mastercain001", lTarget));
|
|
|
|
eEffect = EffectVisualEffect(VFX_FNF_MYSTICAL_EXPLOSION);
|
|
|
|
DelayCommand(19.5, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, lTarget));
|
|
|
|
}
|
|
|
|
|
|
|