Target() public method

public Target ( IPoint3D p ) : void
p IPoint3D
return void
Ejemplo n.º 1
0
 protected override void OnTarget(Mobile from, object o)
 {
     if (o is IPoint3D)
     {
         m_Owner.Target((IPoint3D)o);
     }
 }
Ejemplo n.º 2
0
            protected override void OnTarget(Mobile from, object o)
            {
                IEntity entity = o as IEntity; if (XmlScript.HasTrigger(entity, TriggerName.onTargeted) && UberScriptTriggers.Trigger(entity, from, TriggerName.onTargeted, null, null, m_Owner))

                {
                    return;
                }
                if (o is IPoint3D)
                {
                    m_Owner.Target((IPoint3D)o);
                }
            }