1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Persistent Inventory

Discussion in 'Mapping' started by Grumpy__Smurf, Jan 15, 2000.

  1. Grumpy__Smurf

    Grumpy__Smurf New Member

    Joined:
    Jan 15, 2000
    Messages:
    1
    Likes Received:
    0
    Problem:
    I am *TRYING* (sigh) to put together a mod that includes a particular persistent inventory object - in that, whatever status it had when the player dies, it will continue to have when the player respawns (so if it had a status of 89% on pawn death, it will have a status of 89% on re-spawning).

    Right now I have a check that if the inventory object does not exist in the Pawn's inventory, it is created and inserted - problem is that it would appear that the object is destroyed when the pawn dies.

    Question:
    Is there a way to prevent the inventory object from being destroyed when the pawn dies and have it instantly reappear in inventory with it's status (this is the trick that is eluding me) retained when the pawn re-spawns?

    thanx a mill!
     

Share This Page