Component Settings

The Slot Manager is a system that manages Slots and Slot Attachment to the Skeletal Mesh. This system allows you to assign sockets to slot actors and dictate what items are allowed to be attached to which slots. The image below shows the Slot Manager Actor Component on the CBP_SandboxCharacter_DAO.

The Slot Manager has a few options as shown below.

Item Slots: Socket Name - will be the name of the socket on your character's skeletal mesh that you wish these Slot Actors to be attached. Preferred Reaching Hand - The hand with which the item will be attached when you unholster an item from that slot. Attached Slot Actor - The Actor Currently assigned to this Slot, it's only used internally and does not need to be assigned a value. Allowed Slot Gameplay Tag - This is the ID for the Slot Actor's which are allowed to be attached to this slot. (Note it doesn't need to be an exact Gameplay Tag, it could be a Sub tag with which all actors of a specific category have ID's under) Holster Socket Name: This is the name of the Socket on the Slot Actor Meshes with which the items will be attached. I attach it to a Socket on them by default and support this so that if you need you can adjust the offset of the items attached to that holster. If one is not provided or it's invalid then it simply gets attached to the Root/Origin instead. Hand Socket Names: These are the names of the Sockets/Bones for each hand and is responsible for determining which Socket/Bone items for that hand are attached. Animation Canceling: This determines if Animations can be canceled, if not then you will not be able to interrupt animations through conventional means. However, when the Traversal Animations are played they are setup to automatically interrupt current animations. Because of this, I have to handle interruptions of this nature by default from the AC_HeldObject_Master. Safety Reset Threshold: This is the time in which the IsBusy lock on the Slot Manager system will be reset in such a case it was never properly handled. This should never happen, but event driven systems can be very time sensitive so as a safety precaution we always want to reset it after some amount of time to ensure that we are never permanently locked out. Starting Slot Actors: These are the Slot Actors with which we will spawn with. These are essentially Holsters with which items can be placed. Starting Items: These are items with which we will spawn with, these will be attached to whatever slot actors are available. If none are available, by default, we will drop them on the ground. Slot Actors Gameplay Tags Must Match Exact: If this is checked, which it is by default, then the Tag assigned to the Slot must be the exact tag assigned to the Slot Actor. I have this set by default because people unfamiliar with Gameplay Tags become really confused when I don't check that by default, since they don't understand the Parent/Child way Gameplay Sub Tags work when Exact matches are not required.

Last updated