Hello, I am making some script that will let you view and purchase clothing shown on a mannequin. I have the clothing part done, but how can I get the Catalog ID to prompt the purchase, from the ShirtTemplate ID that’s used to display the Shirt onto the mannequin? Would I need to save the catalog ID somewhere or is there a way to convert these ids? Thanks!
Think this should do the trick!
AssetURL = game:GetService(“InsertService”):LoadAsset(ItemURL)
There’s no way to convert a ShirtTemplate asset to a catalog asset, you will have to store it manually for prompting. Generally a good way of managing mannequins like this is to have configurations for them and then a single script sets up all mannequins to display the clothing asset as well as determine which id to use when conducting a purchase.
Oh that sucks, I’ll just edit the dictionary that stores the clothes to contain the catalog ids, thanks!