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

14 lines
412 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
object oidDest = GetObjectByTag("RIFT_START");
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "RiftStone")== OBJECT_INVALID) return;
AssignCommand(oPC, ClearAllActions());
DelayCommand(1.0, AssignCommand(oPC,ActionJumpToObject(oidDest,FALSE)));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_LIGHTNING_M ), GetLocation(oPC));
}