ProtoFlux:Release All Grabbed: Difference between revisions

From Resonite Wiki
Create Release All Grabbed ProtoFlux Node Page
 
Replaced this description with one that actually talks about this node, not another one.
 
Line 14: Line 14:
|}}
|}}


On Grabbable Released is a ProtoFlux node that monitors an [[Type:IGrabbable|IGrabbable]] for when something or someone lets go of it and sends an [[Impulses|Impulse]].
The <code>Release All Grabbed</code> node, when [[Impulses|impulsed]], makes all [[Slot|slots]] the provided [[Type:BodyNode|body node]] has, to become released. This also has the option to suppress events, useful if the slots were listening using the [[ProtoFlux:On_Grabbable_Released|On Grabbable Released]] node, preventing a lot of pulses from firing.  


== Inputs ==
== Inputs ==

Latest revision as of 03:47, 21 May 2024

Release All Grabbed
*
Next
Node
SuppressEvents
Grabbable

The Release All Grabbed node, when impulsed, makes all slots the provided body node has, to become released. This also has the option to suppress events, useful if the slots were listening using the On Grabbable Released node, preventing a lot of pulses from firing.

Inputs

* (Call)

Call this to make the provided Node (BodyNode)'s grabber release everything it is holding.

Node (BodyNode)

The node to find a grabber for so this node can make it release all that it is holding.

SuppressEvents (bool)

Tells this node to suppress released events that other nodes or components may be listening to. Doesn't prevent code from running that is listening to the grabber of the released objects, however.

Outputs

Next (Continuation)

Sends an impulse when * (Call) is called and the provided Node (BodyNode) has had it's grabber release everything it was grabbing.

Examples