Author Sticky: Post Working Scripts Here
Huntsman29 Posted: Thursday, 11 July 03:26PM
1. Teleport in style
2. Standard teleport type affair tied in to a conversation, but with a spell effect fired first, then a timed delay before you hop to new location.
3. To make this work first make a placeable object. Make it useable, and give it a script on the advanced tab of its properties.
Open the conversation and put the below script in the actions taken tab of the node you want the spell to take effect.

NWScript:
void main()

{

    effect eTeleport = EffectVisualEffect(VFX_FNF_IMPLOSION);

ApplyEffectToObject(DURATION_TYPE_INSTANT, eTeleport, OBJECT_SELF, 0.0f);

    //Get the PC

    object oPC = GetPCSpeaker();

    //Get the location of the waypoint

    object oWaypoint = GetWaypointByTag ("WP_WHATEVER");

    //Jump the pc to the waypoint

    DelayCommand(2.1f, AssignCommand(oPC, JumpToObject(oWaypoint)));

}



Make sure you place a waypoint named exactly as you do in the script at the location you want to appear at.

Next you need to open the properties of the placeable object, and enter the below script in the "Onused" slot on the scripts tab.

NWScript:
void main()

{

    object oPC = GetLastUsedBy();

    ActionStartConversation(oPC, "", TRUE);

}