Alangara_PRC8/_module/nss/sot_back_beacon.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

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)));
}