1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Item Of Race Change

Discussion in 'Script Support' started by kfritz411, Nov 10, 2017.

  1. kfritz411
    Offline

    kfritz411 Member

    Joined:
    Mar 16, 2015
    Messages:
    49
    Likes Received:
    2
    So working on a modified tribal paint that will change race for a period of time or until death.

    So far, everything works great. After death, the hue changes back, the bodymod and body change back, but the Race stays as elf. Can't seem to make it revert to original setting.

    anyone got any ideas?
     

    Attached Files:

  2. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    919
    Likes Received:
    137
    You need a Timer that will undo the changes. The change to Race.Elf is not a temporary change, so it's not surprising that it stays after death. Each time the Timer ticks, it should check if the player is dead and revert the changes if the player dies or it reaches the expiration.
     
  3. kfritz411
    Offline

    kfritz411 Member

    Joined:
    Mar 16, 2015
    Messages:
    49
    Likes Received:
    2

    Thanks sir! I'll try to finagle something like that
     
Similar Threads: Item Race
Forum Title Date
Script Support Problems giving item per race Dec 13, 2013
Bug Reports Mystic's Garb is using wrong itemid Yesterday at 1:46 PM
Bug Reports Commodity Deed seems to have "lost" it's item Yesterday at 1:44 PM
Bug Reports A lot of Blackthorn Dungeon reward items have durability when they shouldnt. Monday at 6:32 PM
General Discussion XmlLevelItem Question Monday at 2:12 PM
Archived Bug Reports Honesty Item Server Issue Jan 14, 2018
Script Support Item hue on craft gump Jan 13, 2018