MrBounty / PZ-UI_API

UI API for the game project zomboid
17 stars 4 forks source link

ISSimpleTickBox: no option to attach function on box ticking #9

Open toomanynights opened 6 months ago

toomanynights commented 6 months ago

Not sure if it's by design or not, but the option to attach a function to a tick box state changing seems rather useful. My case, for example: when the box is ticked, gray out the item with that box. Currently it's not possible without adding custom functions such as ISSimpleTickBox:onMouseUp().