QUOTE |
public override void AddNameProperties(ObjectPropertyList list) { base.AddNameProperties(list); XmlTitle.AddTitles(this, list); } |
QUOTE |
public override void AddNameProperties(ObjectPropertyList list) { base.AddNameProperties(list); XmlTitle.AddTitles(this, list); if (Controlled && Commandable) { if (Summoned) list.Add(1049646); // (summoned) else if (IsBonded) //Intentional difference (showing ONLY bonded when bonded instead of bonded & tame) list.Add(1049608); // (bonded) else list.Add(502006); // (tame) } } |
QUOTE (koluch @ March 07, 2008 09:53 pm) |
The latest release doesnt have a AddNameProperties in Playermobile. Is there another place to address this now that it is changed? (sorry to bug ya ![]() Thanks, Koluch |
QUOTE |
public override void AddNameProperties(ObjectPropertyList list) { base.AddNameProperties(list); XmlTitle.AddTitles(this, list); } |
CODE |
RunUO - [www.runuo.com] Version 2.0, Build 2959.20979 Core: Running on .NET Framework Version 2.0.50727 Core: Optimizing for 2 processors Scripts: Compiling C# scripts...failed (1 errors, 26 warnings) Errors: + Engines/AI/Creature/BaseCreature.cs: CS0103: Line 3863: The name 'XmlTitle' does not exist in the current context Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
CODE |
public override void AddNameProperties( ObjectPropertyList list ) { base.AddNameProperties( list ); XmlTitle.AddTitles(this, list); if ( Controlled && Commandable ) { if ( Summoned ) list.Add( 1049646 ); // (summoned) else if ( IsBonded ) //Intentional difference (showing ONLY bonded when bonded instead of bonded & tame) list.Add( 1049608 ); // (bonded) else list.Add( 502006 ); // (tame) } |
QUOTE (Hanse46 @ April 05, 2008 11:39 pm) | ||||
I added the XmlTitles to base create and have this error, any help anyone?
and here is the section is added this:
|
QUOTE (Hanse46 @ April 06, 2008 03:41 pm) |
Thank you Greystar, I overlooked that part, now it works. |