GodIess Posted December 30, 2024 Share Posted December 30, 2024 I saw that there is a function to open a document folder TheSim:OpenDocumentsFolder(), but is it possible to open a modification folder for example? Link to comment https://forums.kleientertainment.com/forums/topic/162883-button-to-open-a-folder/ Share on other sites More sharing options...
gaymime Posted December 31, 2024 Share Posted December 31, 2024 well that button is to open your world folder at the world-picker section so if you coded the mod interface to have a button when you choose the settings i imagine you could make a dupe of the button that routes to the location of the mod folder Link to comment https://forums.kleientertainment.com/forums/topic/162883-button-to-open-a-folder/#findComment-1783150 Share on other sites More sharing options...
GodIess Posted December 31, 2024 Author Share Posted December 31, 2024 (edited) 21 minutes ago, gaymime said: well that button is to open your world folder at the world-picker section so if you coded the mod interface to have a button when you choose the settings i imagine you could make a dupe of the button that routes to the location of the mod folder As far as I remember, the id is farted there and the corresponding folder is opened. 4 P.S. Yes function ManageServerSlotScreen:OnOpenFolderButton() if type(self.slot) == "number" and self.slot > 0 then if (IsSteam() or IsRail()) and not IsLinux() then TheSim:OpenSaveFolder(self.slot) end end end Edited December 31, 2024 by GodIess Link to comment https://forums.kleientertainment.com/forums/topic/162883-button-to-open-a-folder/#findComment-1783169 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now