PWE_PRC8/_module/nss/rift_area_port.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

16 lines
467 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
string sTag = GetTag(OBJECT_SELF);
SetLocalString( (OBJECT_SELF), "Destination" , "RAT_"+sTag );
string sDest = GetLocalString(OBJECT_SELF,"Destination");
object oidDest = GetObjectByTag(sDest);
AssignCommand(oPC, ClearAllActions());
DelayCommand(1.0, AssignCommand(oPC,ActionJumpToObject(oidDest,FALSE)));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_LIGHTNING_M ), GetLocation(oPC));
}