Server.Mobiles.BaseCreature.TeleportPets C# (CSharp) Method

TeleportPets() public static method

public static TeleportPets ( Mobile master, Point3D loc, Map map ) : void
master Mobile
loc Point3D
map Map
return void
        public static void TeleportPets( Mobile master, Point3D loc, Map map )
        {
            TeleportPets( master, loc, map, false );
        }

Same methods

BaseCreature::TeleportPets ( Mobile master, Point3D loc, Map map, bool onlyBonded ) : void

Usage Example

コード例 #1
0
ファイル: DemonicJailor.cs プロジェクト: phpjunkie420/ServUO
        public override void OnGaveMeleeAttack(Mobile defender)
        {
            base.OnGaveMeleeAttack(defender);

            Point3D loc = new Point3D(5703, 639, 0);
            Map     map = this.Map;

            Effects.SendLocationParticles(EffectItem.Create(loc, map, EffectItem.DefaultDuration), 0x3728, 10, 10, 0, 0, 2023, 0);
            Effects.PlaySound(loc, map, 0x1FE);

            BaseCreature.TeleportPets(defender, loc, map);

            defender.MoveToWorld(loc, map);

            defender.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1152076); // You are captured by the jailor and returned to your cell.
        }
All Usage Examples Of Server.Mobiles.BaseCreature::TeleportPets
BaseCreature