Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hotscreen

Add very hot effects to your screen. · By PerfectFox265

Mod Interaction with collections

A topic by xXNoice created 33 days ago Views: 758 Replies: 2
Viewing posts 1 to 3

Hi there

Right now i am working some mods, which I want to interact with the collections. Sadly even after consulting with AI i can not make it work so that the mod interacts with collections (for example turn on). Any ideas how to fix that?

in the 'twitter api' mod there's a checkbox in levels collection that connects to a mod -perhaps that'll help you? 

Developer

Indeed, as shown in the twitter api mod, you can use this to get the running collections

for collection in HS.overlay.main_collection.collections:
    # do things to collection, note that you can also get the sub-collections with collection.collections

Use this to start/stop a collection :

collection.restart_collection()
collection.stop_collection()
collection.is_stopped()