Announcement

Collapse
No announcement yet.

Convert LableNumber to string

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convert LableNumber to string

    After nearly a decade I have decided to revive some of my old work. I'm building a custom champ system. Most of it is easy enough to convert based on the defaul canned evil. I'm trying to convert from the Champ Skulls to Hearts. I'm stuck here.

    public override int LabelNumber{ get{ return 1049479 + (int)m_Type; } }

    I tried this

    public string LabelNumber{ get{ return "Herat of " + (int)m_Type; } }

    But got the Lable of the base I'm using "Icy Heart"

    I treied this

    Name = "Heart of " + (int)m_Type;

    But got Heart of 0.

    Any thoughts?

  • #2
    "Herat of " <<maybe this misspelling?
    UO Evolution "The Game Has Evolved"

    http://www.uoevolution.com
    http://www.uoevolution.com/forum
    http://www.uoevolution.com/wiki

    Comment


    • #3
      Corrected the spelling, but doesn't change the outcome.

      Comment


      • #4
        Ii have decided to do a custom Cliloc file. Just seems easier. I'm already using a custom hue so this isn't such a big deal.

        *Update*
        Worked perfect.
        I used gametec's Cliloc editor found it on ServerUO Forum
        https://www.servuo.com/archive/cliloc-editor.524/
        Last edited by Tristem; 02-17-2017, 06:12 PM.

        Comment

        Working...
        X