Here is the script when using the portal.
void main(){object oPC = GetLastUsedBy();object oCreator = GetLocalObject(OBJECT_SELF, "Creator");location lPC = GetLocation(oPC);location lDestination = GetLocalLocation(OBJECT_SELF, "Destination");effect eTeleport = EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_3); //Effect to use when Teleporting
SetLocalInt(oPC, "Teleported", 1);DelayCommand(30.0, DeleteLocalInt(oPC, "Teleported"));ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eTeleport, lPC); //Apply the teleport effect to the location of the PCDelayCommand(1.0, AssignCommand(oPC, ActionJumpToLocation(lDestination)));
if (oPC == oCreator) DestroyObject(OBJECT_SELF, 3.0);}
I have downloaded Rune_Gate from here http://nwvault.ign.c....Detail&id=3198
Modifié par Knight_Shield, 25 juillet 2011 - 09:51 .





Retour en haut






