Features
Unreal Engine Plugin
Worldsbase was built with gaming as it’s first priority. Our Worldsbase Unreal Engine Plugin allows full access to everything in Worldsbase. Still, everything is accessible via a REST API if you don’t wish to use the plugin.
Installation
- Download the open source plugin here
- Place
wgs
folder intoPlugins
directory
Web3 Integration
Coming Soon
Example 1: Add Data to Table
In this example, we will add data to a table using the Insert Data
node. Skip to the end of this section to see the full blueprint example.
- Right click and search for wgs subsystem node
- Drag from subsystem node and search for desired WGS function. In this example, we will use the Insert Data function.
- Fill in the table name
- Drag from Data Rows and select the
Make Array
node - Add a pin to the Make Array node for each column you want to edit in your table
- Drag from each pin and select
Make DataRow
- Fill out column name and value for each data row
- Drag from Insert Data node execution pin and search for
Bind Event to On Http Request Completed
. This will execute once our backend call is complete. - Make the subsystem the target for the Bind Event node
- Drag from the event pin on the bind event node and create a custom event
- Finally, do something with the result. Here we just print to console. For Insert Data, the result will be a confirmation string.
Complete blueprint
Example 2: Read Data from Table
To read data from a table, the setup is similar to example 1, except you don’t have to insert any data into the Get Table
node. Just enter the table name. Here is what the blueprint will look like: