Diego
Member
Hi You all,
there is a way to do this (just for example)?
I would give some extra notes just to the Owner of a particular object.
there is a way to do this (just for example)?
Code:
public override void GetProperties(ObjectPropertyList list)
{
Mobile tooltipOwner = OwnerOfTheTooltip; /* THIS IS JUST FOR EXAMPLE, IT DOESN'T COMPILE */
list.Add( "{0}\n", this.Name );
if( tooltipOwner == this.Owner )
list.Add( "{0}", String.Format( "Special Property: {0}", this.Special ) );
else
list.Add( "{0}", String.Format( "Weight: {0} stones", this.Weight ) );
}