ProtoFlux:UserSpawn: Difference between revisions

From Resonite Wiki
Created a page for the User Spawn node. (+ Added join note)
 
add info
Line 2: Line 2:
|Name=User Spawn
|Name=User Spawn
|Category=World
|Category=World
|Inputs=
[
{"Name":"OnlyHost", "Type":"bool"}
]
|Outputs=
|Outputs=
[
[
Line 14: Line 18:


{{Note|When a user joins, this node will also fire due to them spawning in the world for the first time.|information}}
{{Note|When a user joins, this node will also fire due to them spawning in the world for the first time.|information}}
== Inputs ==
=== OnlyHost ([[Type:Bool]]) ===
Fires events for user spawns only for the host of the session.


== Outputs ==
== Outputs ==

Revision as of 22:56, 2 August 2025

User Spawn
OnlyHost
OnSpawn
SpawnedUser
World

The User Spawn node is an event that fires when a user spawns/respawns in the current world this node is in, as well as providing that user.

Spawn events can happen when a user either gets removed or deleted from the hierarchy, using the respawn button in the session menu, or using a gadget to respawn a user.

When a user joins, this node will also fire due to them spawning in the world for the first time.

Inputs

OnlyHost (Type:Bool)

Fires events for user spawns only for the host of the session.

Outputs

OnSpawn (Call)

Fires when a user spawned in the world.

SpawnedUser (User)

The User that spawned in this world.