Jump to content

Recommended Posts

@sasukefan01234, @Weirdobob, actually, it's quite easy.

If you want the character to keep its inventory when turning into a ghost, just add this in its master_postinit:

inst.components.inventory.DropEverything = function() return false end

It will override DropEverything so that nothing is dropped when your char dies.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...