Full Version : Adding owners name to an item
xmlspawner >>Scripting Support >>Adding owners name to an item
<< Prev | Next >>
Sunshine- 07-27-2006
I made a standard -20 fishing pole..run uo 1....
I have it all down but the name ...it works and will not let others use it only the one owner..but I can not get the ...name = Sunshine's Fishing Pole to show up..only fishing pole ....
Can someone help me please...
Thank you very much
As the script is posted the name shows only as Fishing pole
Haazen- 07-27-2006
public override void OnDoubleClick( Mobile from )
{
if ( m_Owner == null )
{
Mobile mobile = (Mobile)from;
PlayerMobile pm = (PlayerMobile)from;
Owner = pm;
Name = Owner.Name + "'s Fishing Pole";
}
Name the pole right after you set owner value . I tested this.
Sunshine- 07-27-2006
Thank you very very much...I worked for hours and through many errors but never could get that part adjusted properly