This event is triggered when a player has successfully selected a character and joined the server. It provides an opportunity to execute custom logic or initialize player-specific data based on the chosen character. The event is fired on both the client and server side
This event is triggered when a player has created a new character for the server. Example Usage Case: Someone might use this to create/select a first spawn location for a character.
Client Side
initNewCharacter
AddEventHandler("vorp:initNewCharacter", function() print("New Character Created")end)
Ability to wait for the first character scene to start in case you need to show a loading screen or something else before the scene starts
Client Side
stopLoadingScene
-- this is just optional-- you can use it to tell character to not start the scene yet like imagine if you have a loading screen with a button to join, this event will make it to wait-- set to true to wait, set to false to continue the sceneTriggerEvent("vorpcharacter:stopLoadingScene", boolean)
This export retrieves all components in the player’s cache, useful for updating or modifying the player’s appearance based on the components stored in the cache