Equip Unequip
Equip Unequip performs the visible transition to a selected Item Set across Inventory slots. Items already matching stay equipped; all outgoing items complete unequipping before incoming items begin.
Configure Equip Unequip
- Assign Item Collection on the character’s Item Set Manager. Configure the target Item Set Group, Item Category, rules, owned Character Items, and valid default/fallback set.
- Add Equip Unequip under Ultimate Character Locomotion > Item Abilities and explicitly assign that category. Use one worker per independently controlled group.
- Choose numbered inputs, selector handoff, and pickup behavior below.
- Configure every Character Item’s equip/unequip timing and Animator Audio State Sets. Put the worker above Aim when transition states should win.

| Ability field | Default | Purpose |
|---|---|---|
| Item Category | Unassigned | Matches an Item Set Group; an empty value uses the first group. Explicit assignments distinguish multiple workers. |
| Start Type / Stop Type | Button Down / Manual | Numbered input starts; transition completion stops. |
| Input Names | Equip First Item through Equip Tenth Item | Input positions select runtime Item Set indexes 0–9. |
| Prevent Start Use Reload Active | Enabled | Normal switching waits while Use or Reload is active. |
| Equip Item State Index / Unequip Item State Index | 4 / 5 |
Incoming/outgoing animation states. |
| Aim Item Substate Index Addition | 100 |
Added during input-started Aim. |
Next, Previous, Scroll, and Toggle select an index and hand it to their category-matched worker. Their rows stop immediately; Equip Unequip stays active for the visible transition. Inspect generated runtime indexes before relying on numbered controls.
Choose pickup behavior
Auto Equip starts with Unequipped, Out Of Usable Item, Not Preset, and First Time selected:
| Flag | Request a matching set when |
|---|---|
| Always | Every qualifying pickup should change equipment; disabled by default. |
| Unequipped | The slot has neither an active item nor one waiting to equip. |
| Out Of Usable Item | An active usable action reports that its item should unequip. |
| Not Preset | The pickup increases ownership beyond the amount remembered before pickup began. |
| First Time | The character did not previously own it. |
Use Always deliberately when ammo or secondary-item pickups could otherwise replace a chosen loadout. Auto Equip waits out active Use/Reload and respects character-ability item/slot restrictions. An exact item-category worker takes pickup ownership ahead of a parent-category worker. Immediate pickups can establish the highest-priority valid set without animation.
Time each transition

These fields live on each Character Item:
| Field | Default | Callback when event waiting is enabled | Effect |
|---|---|---|---|
| Unequip Event | Timed, 0.3 seconds |
OnAnimatorItemUnequip |
Removes the outgoing active item. |
| Unequip Complete Event | Timed, 0 |
OnAnimatorItemUnequipComplete |
Completes that slot’s outgoing stage. |
| Equip Event | Timed, 0.3 seconds |
OnAnimatorItemEquip |
Activates the incoming item and records the target set. |
| Equip Complete Event | Timed, 0 |
OnAnimatorItemEquipComplete |
Completes that slot’s incoming stage. |
Every outgoing slot must finish before any incoming item starts. The worker stops after all pending stages clear. The item’s corresponding Animator Audio State Set supplies its transition substate.
Coordinate inventory and actions
| Situation | Behavior |
|---|---|
| Two groups claim a slot | Earlier Item Set Group wins; adjust group order or slot rules for independence. |
| Active Use/Reload | Prevention enabled rejects normal switching. Forced requests stop active actions first. An outgoing unequip also blocks new use/reload. |
| Drop with Wait For Unequip | Requests matching category defaults before item removal. |
| Direct Inventory removal | Immediately selects the closest valid replacement; own normal animated transition timing separately. |
| Death | Remembers the active set and requests -1. First-person equipment may animate off screen; other perspectives may unequip immediately. |
| Respawn | Requests the previous set when Unequip All On Death is disabled and remaining inventory makes it valid. Remove All On Death separately controls ownership. |
Verify visible equipment and completion
Create a valid default plus Sword and Rifle sets and own their items. Trigger the second numbered input: runtime index 1 should be requested. The outgoing item should use state 5, disappear at Unequip Event, and finish before the incoming state 4 begins. The new item should appear at Equip Event while the ability remains active until Equip Complete Event.
Repeat with animation-event timing, Use/Reload prevention, a qualifying pickup, direct item removal, and death/respawn settings. Confirm the target remains valid and only the intended category changes.
| Symptom | Check | Fix |
|---|---|---|
| Missing/disabled worker | Manager group and category | Explicitly match the group. |
| Wrong numbered loadout | Generated runtime order | Match the input position to the runtime index. |
| Outgoing item stays visible | Unequip Event | Supply the callback or duration. |
| New item never begins | Every Unequip Complete Event | Complete all outgoing slots. |
| New item appears, worker stays active | Every Equip Complete Event | Complete all incoming slots. |
| Pickup or set rejected | Ownership, restrictions, Auto Equip, exact category | Make the intended set valid and assign its worker. |
Developer reference
StartEquipUnequip(itemSetIndex) requests a runtime index; -1 unequips the group. Force overloads stop active Use/Reload; immediate overloads also bypass animation waits. ActiveItemSetIndex is read-only. Select the instance by ItemCategory or ItemSetCategoryID when workers are duplicated.
The Event System reports worker-local OnEquipUnequipItemSetIndexChange(int), OnItemSetIndexChange(int, int), OnAbilityWillEquipItem(CharacterItem, int), and OnAbilityUnequipItemComplete(CharacterItem, int). Animator callbacks complete their configured slot-aware waits. OnCharacterItemAbilityActive(ItemAbility, bool) reports activity; Inventory, Aim, death, respawn, and manager events keep the worker synchronized.