Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

A teleporter that will converse with you and send you where you request to go

From NWNWiki

Jump to: navigation, search

Place waypoints in the location you want to jump to and make sure you give each one a Unique TAG, these will be your destination waypoints.

Create the conversation with a list of where to go, something like this.

[OWNER] - "Where would you like to go?"
..[PC] - "K-Mart"
..[PC] - "Wal-Mart"
..[PC] - "Five and Dime"
..[PC] - "Hollywood"

Then for the each possible selection, place a "Action Taken" script like this;

void main()
{
    object oPC = GetPCSpeaker();
    object oJumpTo = GetObjectByTag("WAYPOINT_TAG");
    AssignCommand(oPC,JumpToObject(oJumpTo));
}

Changeing "WAYPOINT_TAG" to the tag of your destination waypoint for that selection.

Open the portal propeties and under the scripts tab, place this script in the OnUsed node.

void main()
{
    object oPC = GetLastUsedBy();
    ActionStartConversation(oPC);
}

Now click the "Advanced" tab and click the drop down menu next to the "Conversation" box and select the convo you just created.

Done.

Rate this article:
Share this article: