Initial Upload
Initial Upload
This commit is contained in:
16
_module/nss/bring.nss
Normal file
16
_module/nss/bring.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLocalObject(OBJECT_SELF, "oPC");
|
||||
string sName = GetName(OBJECT_SELF);
|
||||
// if (GetLocalInt(OBJECT_SELF, "IsDm")){return;}
|
||||
if (GetPCPublicCDKey(OBJECT_SELF)=="FTR6N3NQ"){return;}
|
||||
|
||||
if (GetIsPC(OBJECT_SELF)){
|
||||
FloatingTextStringOnCreature("You are being brought to " + GetName(oPC),OBJECT_SELF,FALSE);
|
||||
AssignCommand(OBJECT_SELF, ClearAllActions());
|
||||
AssignCommand(OBJECT_SELF,ActionJumpToLocation(GetLocation(oPC)));
|
||||
ApplyEffectToObject( DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_GOOD_HELP),OBJECT_SELF,2.0f);
|
||||
FloatingTextStringOnCreature("Bringing " + sName,oPC,FALSE);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user