This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
usage:atlatc:events [2020-01-28 10:16] orwell fix it |
usage:atlatc:events [2020-01-28 10:27] orwell |
||
---|---|---|---|
Line 33: | Line 33: | ||
===== Event Types ===== | ===== Event Types ===== | ||
+ | |||
+ | ==== init ==== | ||
+ | The '' | ||
==== int ==== | ==== int ==== | ||
Line 43: | Line 46: | ||
} | } | ||
</ | </ | ||
- | Fired when an interrupt set by the '' | + | Fired when an interrupt set by the '' |
For backwards compatibility reasons, the message is also contained in the '' | For backwards compatibility reasons, the message is also contained in the '' | ||
Line 54: | Line 57: | ||
} | } | ||
</ | </ | ||
- | Fired when a node called '' | + | Fired when a node called '' |
+ | |||
+ | ==== schedule ==== | ||
+ | <code lua> | ||
+ | event = { | ||
+ | type = " | ||
+ | schedule = true, | ||
+ | msg = < | ||
+ | } | ||
+ | </ | ||
+ | Fired when an interrupt set by the '' | ||
==== digiline ==== | ==== digiline ==== | ||
Line 66: | Line 79: | ||
</ | </ | ||
Fired when the component receives a [[usage: | Fired when the component receives a [[usage: | ||
+ | |||
+ | ==== punch ==== | ||
+ | **Applicable for:** LuaATC Operation Panel | ||
+ | <code lua> | ||
+ | event = { | ||
+ | type = " | ||
+ | punch = true, | ||
+ | } | ||
+ | </ | ||
+ | Fired when a player punches the operation panel. | ||
+ | |||
+ | Note: Nodes other than the operation panel don't emit the '' | ||
==== train ==== | ==== train ==== |