Modding:Active Parts: Difference between revisions
Jump to navigation
Jump to search
(→Statuses: just use table order) |
(→GetActivePartStatus(): tweak) |
||
Line 462: | Line 462: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Like <code>IsReady()</code>, but returns an <code>ActivePartStatus</code> that can be used to determine what failure mode the part is in. Useful for constructing more helpful failure messaging. | |||
Triggers any appropriate render color changes. Updates the last known status. | Triggers any appropriate render color changes. Updates the last known status. |