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:
    1,005
    Likes Received:
    145
    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
Script Support Mobs drop duped items (x2) Friday at 6:11 PM
Archived Bug Reports Newest SVN and the way houses show their items Apr 14, 2018
Script Support Looking for a workaround to dupe non 0 parameter items Apr 12, 2018
Script Support It dont let me add an item to DefTinker Apr 11, 2018
Archived Bug Reports Internal Map - Newest leaking items Apr 9, 2018
Script Support Deleting target item... Apr 3, 2018