ProtoFlux:Focus World

From Resonite Wiki
Revision as of 23:41, 13 April 2024 by AmasterAmaster (talk | contribs) (Created a page for the Focus World node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Focus World
*
OnNotFound
URL
OnFocused
WorldLink
CloseCurrent
World

The Focus World node allows a user to focus on a world by giving it a ressession link as the Uri/Url. If the world exists (as in, already opened for the user, or available as a headless) it will work as expected. If there is no world that is open already that the ressession link is referring to, it will fail.

Headless worlds would normally have a SessionID you can use to make into a resession link, allowing you to open and join these worlds with ease.

This node is also useful when making Exit Strategies, as you can set it up to where if the world is valid to focus, you can close the current world, and have the node continue from here to play a particle effect, a sound, and much more.

Inputs

* (AsyncCall)

Calls from an impulse begin focusing a world.

URL (Uri)

The ressession link needed to focus a world.

WorldLink (IWorldLink)

The world link (not necessary for focusing a world).

CloseCurrent (bool)

Should this node close the current world after we focus to a different world.

Outputs

OnNotFound (Continuation)

Fires when there is no world to focus on or the world link is not valid.

OnFocused (AsyncCall)

Fires when we successfully focus a world (and only fires in that current world, not the world we are focusing to).