Equipping UCC item when dragged into equipment slot

Cheo

Active member
Hello, I'm making a separate thread for this to keep things organized. As mentioned in the video below, an example on how to cleanly equip a UCC item when it is dragged into an equipment slot would be very useful. I initially tried some stuff out in a custom Item View Drop Action, but could not actually test it due to the issue mentioned in this thread.


By any chance was the "Integration Demo Item View Slot Drop Action Set Active Equip" meant for this purpose ? It doesn't look like it's used anywhere in the scene and doesn't give different results from "Integration Demo Item View Slot Drop Action Set" - at least at first glance. In any case thanks in advance if you could add an example for this. While I understand why you would not want this be done by default, I'm sure other UCC-UIS users could also be interested in this.
 
That is correct, that's what this "Integration Demo Item View Slot Drop Action Set" is supposed to do.
Turns out I must have renamed the containers at some point so the condition is not passing.

Here is the fix
Unity_lzAjCmhZ8M.png
Unity_MrZjQgkkrp.png
Unity_GXXUGd0IQu.png
Notice how the condition actions has an DropAction ToItemAction which uses the CharacterEquipItemAction.


Useful tip. When you are not sure which condition passed in the dropConditioncAction you can check this value
1768734551067.png
 
Back
Top