Hey we got another great patch for you guys today with a ton of great scripting changes, give host, and a brand new file browser! [h1]Give Host:[/h1] [list] [*]Allows the host of game to pass the hosting off to another player that is connected to them. [*]The selected player will receive a confirmation dialog to accept the new host and can accept or decline. [*]If accepted all players will disconnect and then have the choice to reconnect to the new host in the exact same setup and layout they were just playing in. [*]Everything will be preserved from the previous host. [/list] [img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/5854753/8a06cdef40d3aa5af87b79abd33380f71cdb086c.png[/img] [h1]New File Browser:[/h1] [list] [*]Brand new file browser. [*]Can search and favorite folders to easily find your assets. [*]Works in VR now. [/list] [h1]Split & Cut:[/h1] [list] [*]New split added to contextual menu that let's you split a deck / stack in a certain number of stacks. [*]Cut has been improved by letting you choose at what proportion you want to split the deck / stack. [/list] [h1]Scripting Improvement:[/h1] [list] [u]Lua[/u] [*]putObject() now returns an Object. [*]Using it to combine two cards will return an object reference to the newly formed deck. [*]Using it to put an object into a container/stack/deck will return the container/stack/deck it was made part of. [u]New class Notes[u] [*]Contains notebook and set/getNotes functions. [*]Deprecated the old "Base" versions of these functions. [u]New class Wait[/u] [*]This new class allows you to easily trigger functions after some form of delay. [*]Contains frames, time, condition, and stop functions. [*]Deprecated Timer class entirely. [u]New Object functions[/u] [*]obj.cut(int) - Cuts a deck at the given card index. [*]obj.split(int) - Splits a deck in a number of stacks. [*]obj.getRotationValue - Returns the current rotationValue of an object (see: gizmo tool). [*]This function existed previously, but was not documented. [u]Event Functions[/u] [*]Added onObjectPeek(object, player) - Triggers when peek is used by a player. [*]Added object.onPeek(player), object.onRandomize(player). [u]Misc[/u] [*]Player Color strings convert automatically [*]Example: printToAll("Hello", "Green"). [*]Snap points created on objects use Vectors local to the Object, rather than global. [*]This applies to both position and rotation. [*]Fix for optional parameters of spawnObjectJSON(). [*]Fix motor_force not working on jointTo(). [u]New Object Member Variables[/u] [*]loading_custom - Indicates if the assets of a custom element are being loaded. [*]spawning - Indicates if any object is currently in the process of spawning. [*]These are helpful to determine if elements are loaded into the game fully [*] Especially useful with the new Wait class! [u]Callback Changes[/u] [*]Callbacks are being overhauled to use brand new syntax where you directly pass the function instead of the function string name, function owner, and params. [*]Ex: Wait.time(|| print("Done"), 1) or Wait.time(function() print("Done") end, 1) [*]Effected are spawnObject/Json(), takeObject(), and Webrequests. [u]Custom UI:[/u] [*]New Lua function: [*]UI.setValue(string id, string value) - Updates the value that appears within element tags {>>(ex: THIS)<<} [*]UI.getValue(string id)- Obtains the value that appears within element tags {>>(ex: THIS)<<} [*]Both support Rich Text! [*]Added get/setCustomAssets() with keys named and url. [*]New InputField attribute placeholder- Greyed out text that appears in the input if there is no text present. [/list] [h1]Chat Improvements[/h1] [list] [*]Added optional timestamps for chat found in chat settings. [*]Improved black outline around text in chat. [*]Numbers in chat are now monospace. [/list] [h1]Onscreen indicators[/h1] [list] [*]Added on screen indicators to the edge of the screen for ping arrow and peek icons. [*]Never miss a notification because you were looking at the wrong direction. [/list] [h1]UI Improvements[/h1] [list] [*]Add clear input x button to all search inputs. [*]Added a scale animation to popup menus. [*]Added a safe guard to restore UIs dragged off the screen. [/list] [h1]VR Fixes:[/h1] [list] [*][url=https://steamcommunity.com/app/286160/discussions/5/1732081482127768388/]VR Beta info & settings (+how to revert to original controls)[/url] [*]Fixed cards and decks rotating on pickup. [*]Fixed zoom scale speed being framerate dependent. [*]Fixed Custom Xml UI not working. [*]Fixed file browser not working. [/list]