Jump to content
Sign in to follow this  
RedEagle_P1.

How to I force a person to drop all their stuff when they fall into a trigger zone?

Recommended Posts

I have a similar mechanic in a game I've been working on (dropping items when they take damage).  The only way I could find so far was to respawn each one by entity type on the ground, and try to set it to match all the attributes of the one in their inventory, then despawn the one they are carrying.

If anyone knows a better way, please share.

Share this post


Link to post
Share on other sites

On trigger enter

For each item In inventory container Character

Spawn entity type Item get item count Item position get position Character

Despawn item

Maybe this will work? 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×