How to replicate Payday's Loot Bag System.

It was meant as a general note. Didn’t mean to reply directly.

If your doing inclusive interactions (many things can trigger), then you use an identifier such as gameplay/actor tags, then call specialized function or interface.

e.g. Automated sliding door that opens for Pawns and Drones. The door would check the tags (overlap → other actor) IF tag is Character or Drone, then open. A projectile overlapping wouldn’t trigger, nor a character attached component/actor.

If your doing exclusive interactions (1:1), you should use a custom collision. This eliminates the need for conditional check execution. is it this or that etc.

e.g. Only characters can trigger logic on hit/overlap.


I’m looking at base actor being dynamic. A single class that uses replicated customization and actor components for functionality. Item could be a duffle bag or loose money.

Server would spawn the base item, then configure the replicated vars. Item Type, Weight etc. The Onreps would set the mesh based on type and load any needed actor components for custom logic.

1 Like