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

Question

Discussion in 'General Discussion' started by mouradoski, Jan 21, 2017.

  1. mouradoski
    Offline

    mouradoski Member

    Joined:
    Jan 6, 2017
    Messages:
    56
    Likes Received:
    0
    Hello all,

    do someone have any idea how i make all (insured/blessed) items stay on paperdoll after resurrecting and not drop in the backpack.

    thanx
     
    #1 mouradoski, Jan 21, 2017
    Last edited: Jan 21, 2017
  2. Talow
    Offline

    Talow Member

    Joined:
    Aug 30, 2014
    Messages:
    238
    Likes Received:
    20
    You could apply a bool on the death check where the items are moved into the bag, sorry I don't know where that's located right now.
    If the item is equip and insured or blessed ext, then have a bool for on the object basewearable, would be my guess, for equiptOnRes. That's normally false, unless the conditions where true. Then when you go to res person, check all items in bag/inventory and if the equiptOnRes is true put it back on.

    Now if you don't want to edit the basewearable to add the bool to it, for whatever reason, you could instead use an XMLData attachment, or a new attachment, if the attachment is there, equip.

    There also should be an event for death, I think there's also an event for res.

    Subscribe to the events and using the attachments you wouldn't need to make any edits, just add a custom script
     
    #2 Talow, Jan 23, 2017
    Last edited: Jan 23, 2017
  3. mouradoski
    Offline

    mouradoski Member

    Joined:
    Jan 6, 2017
    Messages:
    56
    Likes Received:
    0


    thank you for replay, hope someone else give more details. i searched everywhere but coudln't find anything yet.
     
  4. mouradoski
    Offline

    mouradoski Member

    Joined:
    Jan 6, 2017
    Messages:
    56
    Likes Received:
    0
Similar Threads: Question
Forum Title Date
Script Support DoSpeech question Saturday at 9:48 AM
Script Support Question about two Serialize and Deserialize methods Feb 14, 2017
General Discussion Launching Shard Questions Feb 10, 2017
3rd Party Support question about enhanced client... Feb 10, 2017
ServUO Discussion damage caps question Feb 10, 2017
ServUO Discussion Enhanced Client Questions - Newest SVN Feb 8, 2017
ServUO Discussion Question about spawning / generation and [createworld Feb 7, 2017