Lemke

Member
Hello!
Im trying to get a message when single click on creature,this code im using:

C#:
public override void OnSingleClick( Mobile from )
        {
        from.PrivateOverheadMessage( MessageType.Label, 0, true, "Undead", from.NetState );
        base.OnSingleClick( from );
        }
It load good but no effects on single click.
Thanks in advance!
 
Last edited:
Try one of these instead:

C#:
        public override void SendPropertiesTo(Mobile from)
        {
            if (from is PlayerMobile) from.Send("Undead");
            base.SendPropertiesTo(from);
        }

        public override void OnAosSingleClick(Mobile from)
        {
            if (from is PlayerMobile) from.PrivateOverheadMessage( MessageType.Label, 0, true, "Undead", from.NetState );
            base.OnAosSingleClick(from);
        }
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back