24 lines
562 B
Plaintext
24 lines
562 B
Plaintext
#include "in_g_cutscene"
|
|
#include "x0_i0_petrify"
|
|
|
|
|
|
void FlyAway()
|
|
{
|
|
object oPC = OBJECT_SELF;
|
|
|
|
effect eEffect1 = EffectVisualEffect(VFX_DUR_ELEMENTAL_SHIELD);
|
|
effect eEffect2 = EffectVisualEffect(VFX_DUR_GLOBE_INVULNERABILITY);
|
|
|
|
RemoveEffectOfType(oPC, GetEffectType(eEffect1));
|
|
RemoveEffectOfType(oPC, GetEffectType(eEffect1));
|
|
|
|
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_IMP_PULSE_WIND), oPC));
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectDisappear(), oPC);
|
|
}
|
|
|
|
|
|
void main ()
|
|
{
|
|
DelayCommand(2.5, FlyAway());
|
|
}
|