X0 i0 transport

From NWN Lexicon



[edit] x0_i0_transport

Functions for making creatures travel/transport to new locations.

[edit] Functions

Name Brief Description
GetBestExit Find best exit based on desired target area.
GetBestExitByType Internal function. Find the best exit of the desired type.
GetNearestExit Find nearest exit to target (either door or waypoint).
TravelToLocation Target goes to specified location intelligently.

If location is in same area, walk (or run) there.

If location is in different area, walk (or run) to most appropriate door, area transition, or waypoint, then jump.

If either of these fail, jump after a specificed number of seconds.
TravelToObject Target goes to specified destination object intelligently.

If location is in same area, walk (or run) there.

If location is in different area, walk (or run) to most appropriate door, area transition, or waypoint, then jump.

If either of these fail, jump after a specificed number of seconds.
TransportToLocation Transport a player and his/her associates to a location.

This does NOT transport the rest of the player's party, only their henchman, summoned, dominated, etc.
TransportToWaypoint Transport a player and his/her associates to a waypoint.

This does NOT transport the rest of the player's party, only their henchman, summoned, dominated, etc.
TransportAllToLocation Transport an entire party to a location.
TransportAllToWaypoint Transport an entire party to a waypoint.



  author: Mistress, contributor: Kookoo

Personal tools
Categories