Set Component Enabled
Components
Get Component Enabled is a ProtoFlux node Takes an IComponent and gets if it's enabled or not.
Inputs
* (Call)
Impulse this to set Component (IComponent)'s enabled field to State (bool).
Component (IComponent)
The IComponent to set the enabled field for.
State (bool)
Whether to turn the Component (IComponent)'s enabled field to true or false.
Outputs
Next (Continuation)
Fires after * (Call) is called and the Component (IComponent)'s enabled field is set to State (bool).
Examples
-
Using Get Component Enabled to check if an equipped tool's component is enabled.