Battledale_PRC8/_module/nss/fr_iwd_portal03.nss

16 lines
464 B
Plaintext
Raw Permalink Normal View History

//teleport by Trito
void main()
{
//Get PC
object oPC = GetLastUsedBy();
//get the target waypoint destination
object oDrop = GetWaypointByTag("fr_iwd_uz_portal_loc");
//clear all actions
DelayCommand(0.5,AssignCommand (oPC,ClearAllActions()));
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), oPC);
//jump the PC to the destination
DelayCommand(1.0,AssignCommand (oPC,JumpToObject(oDrop)));
}