TERNOX
Member
Hi! I have a problem with function steam_ugc_set_item_content.
I made in my game level editor, and I want to bind it to the workshop.
I did everything by example on docs.yoyogames.com:
Item created, the picture is loaded, the description is filled in, but the file is not loaded.
I tried to include a link to the folder with the file, and a link to the file - but it is useless.
Please explain to me how it works.
I made in my game level editor, and I want to bind it to the workshop.
I did everything by example on docs.yoyogames.com:
Code:
var app_id = steam_get_app_id();
var updateHandle = steam_ugc_start_item_update(app_id, global.Publish_ID);
steam_ugc_set_item_title(updateHandle, "My workshop item(3)!");
steam_ugc_set_item_description( updateHandle, "testing workshop...");
steam_ugc_set_item_visibility(updateHandle, ugc_visibility_public);
var tagArray;
tagArray[0] = "Test";
tagArray[1] = "New";
steam_ugc_set_item_tags(updateHandle, tagArray);
steam_ugc_set_item_preview(updateHandle, "promo.jpg");
steam_ugc_set_item_content(updateHandle, "WorkshopContent1");
requestId = steam_ugc_submit_item_update(updateHandle, "Version 1.2");
I tried to include a link to the folder with the file, and a link to the file - but it is useless.
Please explain to me how it works.