Tukaram
Member
I have a quest that uses a spawned item to teleport the player to a dungeon. A ring appears, and when you double click the ring you are teleported and the ring self deletes. That part works... but... pets are not teleported with you. On a standard teleport pad, I believe there is an option for pets. Is there a way to code it into the ring?
Here is the relevant code snippet, and I attached the script.
public override void OnDoubleClick(Mobile from)
{
base.OnDoubleClick(from);
if (from != null)
{
from.MoveToWorld(new Point3D(5256, 1839, 0), Map.Trammel);
this.Delete();
}
}
Here is the relevant code snippet, and I attached the script.
public override void OnDoubleClick(Mobile from)
{
base.OnDoubleClick(from);
if (from != null)
{
from.MoveToWorld(new Point3D(5256, 1839, 0), Map.Trammel);
this.Delete();
}
}