ServUO Version
Publish 57
Ultima Expansion
Time Of Legends
Struggling to change a name hue on a Mobile.

namespace Server.Mobiles
{
public class Zaxxon : MondainQuester
{
[Constructable]
NameHue = 44;
public Zaxxon() : base("Zaxxon","")

{
}

receive this error.

Errors:
+ B E E R C U S T O M S/Cutom Quests/MoonGlow Island/MoonGlow Bats/Zaxxon.cs:
CS1519: Line 16: Invalid token '=' in class, struct, or interface member declaration
Scripts: One or more scripts failed to compile or no script files were found.
 
C#:
namespace Server.Mobiles
{
    public class Zaxxon : MondainQuester
    {
        [Constructable]
        public Zaxxon() : base("Zaxxon","")
        {
            NameHue = 44;
        }
 
Back