17 lines
912 B
Plaintext
17 lines
912 B
Plaintext
void main()
|
|
{
|
|
object oSelf = OBJECT_SELF;
|
|
object oPC = GetPCSpeaker();
|
|
|
|
location lTarget = GetLocalLocation(oPC, "SOT_BEACON");
|
|
location lTarget2 = GetLocation(oPC);
|
|
|
|
ActionCastFakeSpellAtObject(SPELL_MINOR_GLOBE_OF_INVULNERABILITY, oSelf);
|
|
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_3), lTarget, 5.0));
|
|
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_LIGHT_RED_20), lTarget, 30.0));
|
|
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_3), lTarget2, 5.0));
|
|
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_LIGHT_RED_20), lTarget2, 30.0));
|
|
SetLocalLocation(oPC, "SOT_LASTUSED", GetLocation(oPC));
|
|
AssignCommand(oPC, DelayCommand(6.0, JumpToLocation(lTarget)));
|
|
}
|