ProtoFlux:Anchor User: Difference between revisions

From Resonite Wiki
added Anchor User ProtoFlux Node Page
 
m added category
Line 47: Line 47:
File:Protoflux_example_anchor_user.webp|Example of how to anchor the user who pressed a button to a chair, which is seen behind the code.
File:Protoflux_example_anchor_user.webp|Example of how to anchor the user who pressed a button to a chair, which is seen behind the code.
</gallery>
</gallery>
[[Category:ProtoFlux:Avatars:Anchors]]

Revision as of 22:45, 8 February 2024

Anchor User
*
OnAnchored
Anchor
OnFail
User
Anchors

Anchor User is a ProtoFlux node that attempts to anchor a user to any anchor, which is provided to the node via the IAnchor type.

If the anchor succeeds, it doesn't nessarily mean the user has stayed in the anchor, and requires checking Anchored User Node A few updates later.

Inputs

* (Call)

Anchors the User (User) Upon impulse to the provided Anchor (IAnchor)

Anchor (IAnchor)

The anchor to put the provided User (User) into.

User (User)

The user to put into the provided Anchor (IAnchor).

Outputs

OnAnchored (Continuation)

Sends an impulse after * (Call) is called and the user was sucessfully anchored.

OnFail (Continuation)

Sends an impulse after * (Call) is called and the user was not anchored because the user currently is in another anchor, the provided anchor was null, or the provided anchor already had someone seated in it.

Examples