Server Totals
Wilderness - (3)
M'Chek - (2)
Visimontium - (2)
Ferrell - (1)
Mikona - (1)
Elysia - (1)
Le'Or - (0)
Deglos - (0)
Underdark - (0)
Total players: 10
  • Emerald Grove at Night
    Album name: DM Events
    Uploaded by: Ronan
    Uploaded: Wed Aug 20, 2014 3:33 am

Links Menu

Basic teleport script help needed

Moderators: Nighthawk4, Dungeon Masters

Basic teleport script help needed

PostAuthor: Damn » Sat Jul 17, 2004 8:33 pm

I have a tower that I am wanting to allow players to teleport to the top of.

This would not be a problem if I could simply place a trigger on top of it, but I am stuck with using the teleport "visual effect" model itself and/or waypoints.

Right now I am using the teleport "visual effect" model and making it "usable" in order to apply a conversation to it.

I need a basic script that will allow a player to "teleport" to a waypoint. (which I have placed on the other teleport object)

Any help would be greatly appreciated.

(you guys are the masters of scripts so I figured this was worth a shot)


Area Builder and DM
Darksun Online (DSO)
Once a dwarf... ALWAYS a dwarf!
Deepdelve and Silverbeard clans. ;)
User avatar
Squire of Babble
Posts: 46
Joined: Sat Jun 21, 2003 3:06 pm

PostAuthor: Jaxmax » Sat Jul 17, 2004 8:47 pm

Not that I know anything about it but Lilac soul generator has helped me in the past... Also with making teleports. ... 6652.shtml

Regards Jax

Knight of Useless Drivel
Posts: 75
Joined: Tue Jun 08, 2004 1:01 pm
Location: Denmark

PostAuthor: dougnoel » Sat Jul 17, 2004 9:07 pm sounds to me like this is more of an area building issue...but if you want to script a jump, use this:
Code: Select all
// The subject will jump to lLocation instantly (even between areas).
// If lLocation is invalid, nothing will happen.
void ActionJumpToLocation(location lLocation)

So if your waypoint destination Tag is "NW_DEST" you would do this:
Code: Select all

If the PC isn't OBJECT_SELF in the script, you'll have to create and assign an oPC object the use:
Code: Select all
AssignCommand(oPC, ActionJumpToLocation(GetLocation(GetObjectByTag("NW_DEST"))));

But you could also just use an area transition trigger.


Team Member; Retired with Honors
Posts: 6265
Joined: Fri May 14, 2004 4:59 pm
Location: VA (GMT -4)

Return to NWN Scripting

Who is online

Registered users: Auriane, Bing [Bot], Jazz, Orleron, Vichan Lyonsen