x0_i0_transport

Functions for making creatures travel/transport to new locations.

Functions

NameBrief Description
GetBestExitFind best exit based on desired target area.
GetBestExitByTypeInternal function. Find the best exit of the desired type.
GetNearestExitFind nearest exit to target (either door or waypoint).
TravelToLocationTarget 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.
TravelToObjectTarget 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.
TransportToLocationTransport 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.
TransportToWaypointTransport 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.
TransportAllToLocationTransport an entire party to a location.
TransportAllToWaypointTransport an entire party to a waypoint.


  author: Mistress, contributor: Kookoo