UIS & UCC Animation when interact

andtrno1

New member
Hi, I have a problem when I use the intergration where I want to open the chest and use character's animation. In the UIS, you can only invoke the chest's animation only, while in UCC I can do both but there is a problem invoke the chest menu of UIS on the screen. I look at the code and have no idea where to custom it for my liking. Any idea to utilize the both asset? the intergration demo doesn't show much, it uses the interact system from UIS instead of UCC.
 
That's a good point, we don't have an example for that. I'll make note of that for a future update

The UIS Chest component only needs you to call it's Open(clientInventory) and Close() functions at the right time.
So you could add a UCC interactable and when the interaction is complete you can call Open(characterInventory). Close is automatically called when the ChestMenu is closed.

That means the UIS Interactable for chest can be completely removed, it's optional.
 
I'm quite confused. Can you please explain a little bit more? I'm still figuring it out since I can use animation and interactable from UCC to open the chest now. However, it seems like the chest menu doesn't active when I open the chest, and the inventory I created in the chest doesn't bind with the chest menu.
 
You must write a script that calls chest.Open(playerInventory) when the interaction animation is complete.

The chest menu should automatically open and bind to that chest when you call that function.

I hope that makes sense
 
Back
Top