NWNWiki
Advertisement
NWNWiki
3,718
pages

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.

Advertisement