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,051
    Likes Received:
    150
    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 adding item on char creation depending on race Jul 12, 2018
Script Support Problems giving item per race Dec 13, 2013
Bug Reports BaseSpecialScrollBook and Seedbox - weight / item count Wednesday at 8:07 AM
Archived Bug Reports Resmelting Colored blacksmith items Jul 11, 2018
Discussion Question how to you connect a spawner to an item Jul 10, 2018
Support XML keyword ITEM seems to do nothing Jun 29, 2018
Archived Bug Reports Issue with item needing to be deleted on restart Jun 27, 2018