Scrap Mechanic

Scrap Mechanic

Artificial Horizon 3
4 条留言
epicduck410 2024 年 10 月 25 日 下午 1:07 
There's a function called upon the computer being turned off where you can clear the screen.
function onStop()
-- it invokes when computer turns off
-- there you can deactivate motors
end
dpd995 2024 年 10 月 12 日 下午 1:54 
awesome!
Legofreak  [作者] 2023 年 10 月 18 日 上午 11:32 
hi, sorry i didnt see this sooner. You are welcome to use it. I hope you were able to figure something out. I'm not sure how to code it to do something when switched off. you might need a separate input variable that is switched before the power is cut.
Floppiefish 2023 年 10 月 1 日 下午 1:19 
Hi, is it possible for me to use this on a jet I am working on? I want to post it to the workshop at some point but I do not yet know how to code so this would help. Credits will be included ofc. Is there also a few lines i could add to make the display go black once logic input is stopped?