I am trying to set up a UGC limited event and for some reason can’t get the UGC to prompt when using :PromptPurchase(). I am entering the correct ID as displayed in the url of the limited listing but cannot get the item to show up on my screen at all (or display an error in the output). Are there specific settings I need to enable? We have the UGC location set as the game’s place ID. Any help is greatly appreciated!
This is the part that is relevant but I will also say I ran this with my player object as the player just in the console and it also did not do anything.
The script is not relevant as running the code I sent above in the command line of the server console is not working. The actual claiming of the rewards is fine, it is prompting the UGC that is not working for me.
For example running the following also does not work:
You probably have to add a bit of a wait after the player is added so they can load and the purchase can actually be received by the player. Also make sure it’s a server script.
hey there, make sure this is in a server script, if you are trying to run it locally, just use a remote event and pass the ugc id (player gets sent automatically)
the reason why it didnt work in console while testing is the same reason, you were most likely on the client. if you want to change from client to the server while testing;
click play (to start testing) → click test on the topbar → click ‘Current: Client’
that should switch you to the server
hope this helps !!
edit: also make sure the id is correct, read any errors in console for information