Persistent Inventory

  • 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.

Grumpy__Smurf

New Member
Jan 15, 2000
1
0
0
Visit site
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!