![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
Simple Teleporter. This teleporter uses the npc guild name to determine available teleport locations in the Teleport table PackageID is used for the text displayed to the player. More...
Public Member Functions | |
override bool | Interact (GamePlayer player) |
Player right-clicked the teleporter. | |
override bool | WhisperReceive (GameLiving source, string text) |
Talk to the teleporter. | |
Protected Member Functions | |
void | LoadDestinations () |
Use the NPC Guild Name to find all the valid destinations for this teleporter. | |
override void | OnDestinationPicked (GamePlayer player, Teleport destination) |
Player has picked a destination. | |
override void | OnTeleport (GamePlayer player, Teleport destination) |
Teleport the player to the designated coordinates. | |
Properties | |
override string | Type [get] |
The type of teleporter; this is used in order to be able to handle identical TeleportIDs differently, depending on the actual teleporter. | |
override bool | ShowTeleporterIndicator [get] |
Display the teleport indicator around this teleporters feet. |
Simple Teleporter. This teleporter uses the npc guild name to determine available teleport locations in the Teleport table PackageID is used for the text displayed to the player.
Example: Add this npc to the world and set guild name to 'My Teleports' Go to a location you want to teleport too and use the command /teleport 'location name' 'My Teleports'
You can whisper refresh to this teleporter to reload the teleport locations
<author>Tolakram; from SI teleporter created by Aredhel</author>
override bool DOL.GS.SimpleTeleporter.Interact | ( | GamePlayer | player | ) | [virtual] |
Player right-clicked the teleporter.
player |
Reimplemented from DOL.GS.GameTeleporter.
void DOL.GS.SimpleTeleporter.LoadDestinations | ( | ) | [protected] |
Use the NPC Guild Name to find all the valid destinations for this teleporter.
override void DOL.GS.SimpleTeleporter.OnDestinationPicked | ( | GamePlayer | player, |
Teleport | destination | ||
) | [protected, virtual] |
Player has picked a destination.
player | |
destination |
Reimplemented from DOL.GS.GameTeleporter.
override void DOL.GS.SimpleTeleporter.OnTeleport | ( | GamePlayer | player, |
Teleport | destination | ||
) | [protected, virtual] |
Teleport the player to the designated coordinates.
player | |
destination |
Reimplemented from DOL.GS.GameTeleporter.
override bool DOL.GS.SimpleTeleporter.WhisperReceive | ( | GameLiving | source, |
string | text | ||
) | [virtual] |
override bool DOL.GS.SimpleTeleporter.ShowTeleporterIndicator [get] |
Display the teleport indicator around this teleporters feet.
Reimplemented from DOL.GS.GameNPC.
override string DOL.GS.SimpleTeleporter.Type [get, protected] |
The type of teleporter; this is used in order to be able to handle identical TeleportIDs differently, depending on the actual teleporter.
Reimplemented from DOL.GS.GameTeleporter.