Changed folder name.
Changed folder name.
This commit is contained in:
23
_module/nss/scry_teleport.nss
Normal file
23
_module/nss/scry_teleport.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName s_pcl_teleport
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 8/3/2002 1:13:27 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oLeader = GetFactionLeader(oPC);
|
||||
|
||||
if (oLeader != oPC) {
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), oPC);
|
||||
AssignCommand(oPC, JumpToObject(oLeader));
|
||||
|
||||
} else {
|
||||
|
||||
SendMessageToPC(oPC, "You are the party leader!");
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user