Instructions/Is Working

From Desynced Wiki


Is Working
     File:Instructions-Is Working.png
     Checks whether a particular component is currently working
Lua ID is_working
Category Math
Icon Compare Values.png
Argument One: Type Exec
Argument One: Name Is Not Working
Argument One: Description If the requested component is NOT currently working
Argument Two: Type Input
Argument Two: Name Component
Argument Two: Description Specific component to check or empty to check all components
Argument Two: Data Type comp
Argument Three: Type Input
Argument Three: Name Component Index
Argument Three: Description Component index if multiple are equipped
Argument Three: Data Type num
Argument Four: Type Output
Argument Four: Name Value
Argument Four: Description Returns the currently working component
Argument Four: Data Type entity