Initial Upload
Initial Upload
This commit is contained in:
13
_module/nss/sot_beacon.nss
Normal file
13
_module/nss/sot_beacon.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
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_TIME_STOP), lTarget2, 5.0));
|
||||
SetLocalLocation(oPC, "SOT_LASTUSED", GetLocation(oPC));
|
||||
SetLocalLocation(oPC, "SOT_BEACON", GetLocation(oPC));
|
||||
}
|
Reference in New Issue
Block a user