17 lines
682 B
Plaintext
17 lines
682 B
Plaintext
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;
|
|
}
|