This Loot drop community component allows an object to drop loot when triggered. Attach this component to an object in the scene.
This component includes:
|Determines the trigger condition of the loot drop:
|Specifies the trigger event name for the loot drop. For example, it can be entered as registered in the AiGameEventRelay component. This field is only visible for the Condition is set to Event.
|The minimal radius within which the loot drops
|The maximum radius within which the loot drops
|Determines the eligibility is eligible for these loot drop
|Determines when a dropped item or equipment can be picked up
|Sets the duration for dropped loot before they disappear if not collected by players
|Determines the method used for dropping items. It can be a percentage-based or weighted drop rate.
|The unique identifier of an item or equipment to be dropped. To find it, in Studio go to My Resource>Gameplay library, locate your item or equipment, then click Edit to find the ID in the Properties window.
|The number of copies of the item or equipment that will be dropped
|The drop percentage of the item or equipment. This option is available when the Probability is set to Independent. Value between 0 and 100%. Default: 50%. When dropping multiple pieces at the same time, set the percentage for each one separately. For example, set Item A to 50%, Item B to 100%, and Item C to 80%.
|The drop weight of the item or equipment. This option is available when the Probability is set to Weighted. Integer between 0 and 999. Default: 1. For a drop rate, divide the drop weight by the weighted sum. When dropping multiple pieces at the same time, set the drop weight for one separately. For example, set Item A to weight 1, B to weight 3, and C to weight 6.