Initial Upload
Initial Upload
This commit is contained in:
15
_module/nss/rift_area_port.nss
Normal file
15
_module/nss/rift_area_port.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user