x0_inc_portal

Library functions for the portal stone.

NOTE: This file includes x0_i0_henchman.

Constants

NameValueBrief Description
BASE_ANCHORWBASEBase anchor for the area.

Functions

NameBrief Description
PortalAllAnchorExists
PortalAnchorExists
PortalCreateAnchorCreates a blank waypoint with the appropriate NAME as generated by the PLAYER NAME.
PortalDeleteAnchor
PortalGetAnchorReturns the anchor object based on a specified name.
PortalGetAnchorNameReturns the name/tag of the anchor.
PortalGetNextAnchorReturns the next number of anchor allowed to be made, returns -1 if all are made.
PortalHasGoldChecks to see if the target creature has at least a specific amount of gold.
PortalHasRogueStoneRogue Stone function.
PortalJumpAnchor
PortalJumpHallJump the player to the Hall of Doors - where they can then jump to any of their binding points.

Any other party members within 10 meters of the PC will be teleported as well.
PortalJumpToHero
PortalJumpToPlayerDeath
PortalNoAnchorExists
PortalPlayerDiedReturns true if the player has died and not jumped back to that point of death.
PortalSetupTokensSets up the dialog tokens for the Portal Stone to work correctly.
PortalStoneHasRogueStoneInternal function. Checks the Portal Stone in the player's pack to see if they have a Rogue Stone. Rogue Stones are required for teleportation.
PortalTakeGoldTakes a specified amount of gold from a specific creature.
PortalTakeRogueStoneThe contents of this function have all been commented out.
MoveAllAssociatesInternal function.
RestrictedAreaInternal function.


  author: Mistress