The Pickup Item ability will play an animation which picks up the item. This animation could be picking up the item from the ground or on a table. This ability is a child of the Detect Object Ability Base so will inherit any properties from it.
- Select the + button in the ability list under the “Abilities” foldout of the Ultimate Character Locomotion component.
- Add the Pickup Item ability. This ability should be positioned near the top of the list so another ability will not prevent the character from picking up an item.
The slot ID of the item that can be picked up. A value of -1 indicates any slot.
Pickup Item Types
Specifies a list of ItemTypes that should be picked up. If the list is empty any ItemType will trigger the animation.
Should the item be equipped immediately? If this is true any equipped items will be replaced and not unequipped first.
Specifies if the ability should wait for the OnAnimatorPickupItem animation event or wait the specified amount of time before picking up the item.
Pickup Complete Event
Specifies if the ability should wait for the OnAnimatorPickupComplete animation event or wait the specified amount of time before stopping the ability.