Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Logic - Simple selfresetting countdown timer
   
奖励
收藏
已收藏
取消收藏
标签: v0.4.39a
文件大小
发表于
更新日期
38.837 KB
2018 年 11 月 6 日 上午 9:22
2018 年 11 月 8 日 上午 4:41
2 项改动说明 ( 查看 )

订阅以下载
Logic - Simple selfresetting countdown timer

在 Tajin 的 1 个合集中
Logic Examples & Knowhow
54 件物品
描述
Maybe this helps some of you out.

Its a fairly simple and compact timer that can be configured by changing the reset-value in the memory register (20s by default)

Use the push button and it will start counting down to 0.
Upon reaching 0 it will give a signal and reset the timer.


In this setup, the push button only works when the timer is reset and has no effect otherwise.




ps.: Do not be irritated by the 1/30 in the function block. The logic in this game really runs at 60hz but there is a 1 tick delay between the memory block and the function, so thats why I use 30 there.
1 条留言
memeboy 2023 年 4 月 1 日 上午 9:43 
thank you kind person for making this.